Skip to main content
POST
Create Anthropic integration

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

write

Grants write access

Body

application/json

Create an Anthropic Integration

api_key
string
required

Anthropic Admin API key. With enterprise_analytics, a Claude Enterprise Analytics API key with the read:analytics scope.

enterprise_analytics
boolean
default:false

When true, creates a Claude Enterprise Analytics integration instead of an Anthropic API usage integration.

account_name
string

Name for this Claude Enterprise account in Vantage. Required when enterprise_analytics is true.

organization_id
string

Claude Enterprise organization UUID, used when enterprise_analytics is true. Defaults to the organization of the API key.

Response

Integration model

token
string
required
provider
string
required

The name of the Integration.

Example:

"AWS"

account_identifier
string | null
required

The account identifier. For GCP this is the billing Account ID, for Azure this is the account ID

Example:

"011389-EF4C3E-3ED7AE"

status
enum<string>
required

The status of the Integration. Can be 'connected', 'error', 'pending', 'importing', 'imported', or 'disconnected'.

Available options:
connected,
error,
pending,
importing,
imported,
disconnected
Example:

"imported"

workspace_tokens
string[]
required

The tokens for any Workspaces that the account belongs to.

created_at
string
required

The date and time, in UTC, the Integration was created. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"

managed_account_tokens
string[]
required

The tokens for any Managed Accounts that are associated with the Integration.

enriched_by
string[]
required

Tokens of the data integrations that enrich this integration's costs. Empty when enrichment is not connected.

last_updated
string | null

The date and time, in UTC, when the Integration was last updated. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"