AIProviderKeyService
AI Provider Keys
Get an AI provider key by ID
Retrieves an AI provider key by ID from the workspace
get/v1/workspaces/{workspaceId}/ai_provider_keys/{id}
Path parameters
workspaceIdstring required
Example:workspace_01HXKD2E5NQM3T9AYWCF133E3Q
The workspace the key belongs to.
idstring required
Example:aipk_01HXKD2E5NQM3T9AYWCFQ41VW3
The key to retrieve.
Response
OK
Example response
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}