Axelered AI
API Auth

Create API Key

POST
/w/{workspace_id}/keys

Issue a new API key (token) for the workspace.

Path Parameters

workspace_id*Workspace Id
Formatuuid

Request Body

application/json

Response Body

application/json

application/json

{  "status": "ok",  "data": {    "id": "string",    "createdAt": "string",    "modifiedAt": "string",    "workspaceId": "string",    "issuerId": "string",    "name": "string",    "expiredAt": "string",    "secret": "string"  }}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}