Tokens
Tokens from a project.
Authorizations
Path parameters
projectIDstring · uuidRequired
Query parameters
lastintegerOptional
Last tokens.
namestringOptional
Name matching tokens.
Responses
200
OK
application/json
get
GET /v1/projects/{projectID}/tokens HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
OK
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"token": "redacted",
"name": "my-token",
"permissions": [
"create:*"
],
"createdAt": "2025-07-04T17:27:48.870Z"
}
]
Create token within a project. These tokens are to authorize other applications to access the project. For example:
- an agent might use it to register itself to the project.
- you might deploy a new core instance in the project with the CLI/Helm.
- you might use it within the Calyptia CLI to grant access to your project.
Authorizations
Path parameters
projectIDstring · uuidRequired
Body
Create token request body.
namestringRequiredExample:
new-token
Responses
201
Created
application/json
post
POST /v1/projects/{projectID}/tokens HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"name": "new-token",
"permissions": [
"create:*"
]
}
201
Created
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"token": "redacted",
"name": "my-token",
"permissions": [
"create:*"
],
"createdAt": "2025-07-04T17:27:48.870Z"
}