External keys

Get external keys of the given Workspace ID

    This endpoint fetches all external keys added as part of the given Workspace ID
    
get/workspaces/{workspace_id}/external_keys

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/external_keys
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

workspace_idinteger required

Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.

Example:4

Query parameters

fieldsstring

Fields to be returned in a comma-separated format. Check full mode for all fields.

Example:key_type,key_name,created_by_user_id
limitinteger

Max number of result to return

Example:10
offsetinteger

Distance from the beginning of the list of results

Example:10
sortstring

Returned results are sorted by the combination of the given fields.

Example:(id:asc)
key_type'open_ai' | 'anthropic' | 'gemini' | 'grok'

Type of the external key e.g. open_ai

Response

Success

limitinteger

Setting limit would limit the items received in the page

offsetinteger

First position to return from the results

nextstring required

Url of the next page

providersobject[] nullable

Available LLM providers with their models and config capabilities. Only included when fields=__full.

Changes

No recorded changes to this operation across all 3 revisions of this API.