> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Attention: List API Keys

> List your Attention API keys. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

List your Attention API keys.

> [!NOTE]
>
> Tool ID: `attention_list_api_keys`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'attention_list_api_keys',
  {},
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute attention_list_api_keys --input '{}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": [
    {
      "id": "id_123",
      "name": "Example",
      "organizationUUID": "organization_123",
      "userUUID": "user_123",
      "value": "example",
      "lastSeenAt": "2026-01-15T12:00:00Z"
    }
  ]
}
```

Use `deepline describe attention_list_api_keys --json` for the latest machine-readable contract.

## Input reference

Lists all API keys for the current user

This action requires no input fields.

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Lists all API keys for the current user",
    "properties": {},
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `array` | Yes | — | Provider response payload. |
| `result.data[].id` | `string` | Yes | — | The unique identifier of the API key |
| `result.data[].name` | `string` | Yes | — | The name of the API key |
| `result.data[].organizationUUID` | `string` | Yes | — | The UUID of the organization this API key belongs to, if applicable |
| `result.data[].userUUID` | `string` | Yes | — | The UUID of the user this API key belongs to, if applicable |
| `result.data[].value` | `string` | Yes | — | The actual API key value |
| `result.data[].lastSeenAt` | `string` | Yes | — | The last time this API key was used Format: `date-time`. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "array",
        "description": "Provider response payload.",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "description": "The unique identifier of the API key"
            },
            "name": {
              "type": "string",
              "description": "The name of the API key"
            },
            "organizationUUID": {
              "type": "string",
              "description": "The UUID of the organization this API key belongs to, if applicable"
            },
            "userUUID": {
              "type": "string",
              "description": "The UUID of the user this API key belongs to, if applicable"
            },
            "value": {
              "type": "string",
              "description": "The actual API key value"
            },
            "lastSeenAt": {
              "type": "string",
              "description": "The last time this API key was used",
              "format": "date-time"
            }
          },
          "required": [
            "id",
            "lastSeenAt",
            "name",
            "organizationUUID",
            "userUUID",
            "value"
          ],
          "additionalProperties": false
        }
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Attention provider guide](https://deepline.com/docs/providers/attention/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.