Company Management
The UUID of the company.
Number of records per page.
Number of records to skip.
Sort field: name, key_owner, last_used_at, status.
Sort order: asc, desc.
Filter by API key name (partial match).
Filter by owner UUID (user or team).
Paginated list of all API keys for the company
10GET /v1/companies/{companyId}/api_keys/with_usage HTTP/1.1
Host: api.nexos.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Paginated list of all API keys for the company
{
"items": [
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "My API Key",
"api_key": "nexos-****1234",
"key_owner": "John Doe",
"owner_uuid": "123e4567-e89b-12d3-a456-426614174000",
"last_used_at": "2026-01-01T00:00:00.000Z",
"status": "active",
"type": "user",
"budget_used": 1,
"budget_limit": 1
}
],
"total": 10
}The UUID of the company.
Maximum number of items to return.
Number of items to skip.
Field to sort by: owner_name, status, key_count, budget_used, budget_limit.
Sort order: asc, desc.
Filter by owner name (partial match).
Paginated list of user API key owners with keys count
1GET /v1/companies/{companyId}/users/api_keys/with_usage HTTP/1.1
Host: api.nexos.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Paginated list of user API key owners with keys count
{
"items": [
{
"owner_uuid": "123e4567-e89b-12d3-a456-426614174000",
"owner_name": "John Doe",
"key_count": 3,
"status": "active",
"budget_used": 1,
"budget_limit": 1
}
],
"total": 1
}The UUID of the company.
The UUID of the user.
Maximum number of items to return.
Number of items to skip.
Filter by API key name (partial match).
Field to sort by: name, owner_name, last_used_at, status, budget_limit, budget_used.
Sort order: asc, desc.
Paginated list of user API keys with usage
1GET /v1/companies/{companyId}/users/{userId}/api_keys/with_usage HTTP/1.1
Host: api.nexos.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Paginated list of user API keys with usage
{
"items": [
{
"api_key": "nexos-3****-56iupo3240v22",
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Production API Key",
"enabled": true,
"removed": false,
"created_at": "2024-11-19T10:00:00Z",
"updated_at": "2024-11-19T12:00:00Z",
"last_used_at": "2024-11-19T12:00:00Z",
"expiration_date": "2025-11-19T12:00:00Z",
"owner_uuid": "123e4567-e89b-12d3-a456-426614174000",
"owner_name": "John Doe",
"status": "active",
"budget_used": 1,
"budget_limit": 1
}
],
"total": 1
}The UUID of the company.
Maximum number of items to return.
Number of items to skip.
Field to sort by: team_name, status, key_count, budget_used, budget_limit.
Sort order: asc, desc.
Filter by team name (partial match).
Paginated list of team API key owners with keys count
1GET /v1/companies/{companyId}/teams/api_keys/with_usage HTTP/1.1
Host: api.nexos.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Paginated list of team API key owners with keys count
{
"items": [
{
"owners": [
{
"owner_uuid": "123e4567-e89b-12d3-a456-426614174000",
"owner_name": "John Doe"
}
],
"key_count": 3,
"team_uuid": "123e4567-e89b-12d3-a456-426614174000",
"team_name": "Engineering",
"status": "active",
"budget_used": 1,
"budget_limit": 1
}
],
"total": 1
}The UUID of the company.
The UUID of the team.
Maximum number of items to return.
Number of items to skip.
Filter by API key name (partial match).
Field to sort by: name, owner_name, last_used_at.
Sort order: asc, desc.
Paginated list of team API keys with usage
1GET /v1/companies/{companyId}/teams/{teamId}/api_keys/with_usage HTTP/1.1
Host: api.nexos.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Paginated list of team API keys with usage
{
"items": [
{
"api_key": "nexos-3****-56iupo3240v22",
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Production API Key",
"enabled": true,
"removed": false,
"created_at": "2024-11-19T10:00:00Z",
"updated_at": "2024-11-19T12:00:00Z",
"last_used_at": "2024-11-19T12:00:00Z",
"expiration_date": "2025-11-19T12:00:00Z",
"owner_uuid": "123e4567-e89b-12d3-a456-426614174000",
"owner_name": "John Doe",
"status": "active",
"budget_used": 1,
"budget_limit": 1
}
],
"total": 1
}Last updated

