Skip to main content
GET
/
api
/
v1
/
secrets
/
{secret_id}
Get Secret
curl --request GET \
  --url https://api.primeintellect.ai/api/v1/secrets/{secret_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "isFile": false,
    "userId": "<string>",
    "teamId": "<string>"
  },
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

secret_id
string
required

Query Parameters

teamId
string | null

Team ID for team secrets

Response

Successful Response

data
SecretResponse · object

Response data

status
string | null

Response status