Skip to main content
GET
/
v1
/
keys
List API keys
curl --request GET \
  --url https://ai.liara.ir/v1/keys \
  --header 'Authorization: <api-key>'
[
  {
    "_id": "<string>",
    "name": "<string>",
    "enabled": true,
    "workspaces": [
      {
        "_id": "<string>",
        "name": "<string>"
      }
    ],
    "createdBy": {
      "fullname": "<string>"
    },
    "lastUsedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345"

Query Parameters

teamID
string

Team ID for team-scoped keys

Response

List of API keys

_id
string
name
string
enabled
boolean
workspaces
object[]
createdBy
object
lastUsedAt
string<date-time> | null