Access keys
List access keys with filtering and pagination.
x-pontive-instance-id<token>Instance ID for the request
service_account_id?stringFilter by service account id (svc_…)
confidentiality?stringFilter by confidentiality (secret|publishable)
status?stringFilter by status (active|revoked)
sort?stringSort field; prefix with - for descending (e.g. -created_at). Allowed: created_at, updated_at, name, status. Default: -created_at
page?integerPage number
limit?integerItems per page
OK
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/access-keys'{ "data": [ { "confidentiality": "secret", "created_at": "string", "description": "string", "expires_at": "string", "id": "string", "instance_id": "string", "key_preview": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "revealable": true, "service_account_id": "string", "status": "active", "updated_at": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Mint an access key bound to a service account. The credential value is returned only here (and later via reveal for revealable keys).
x-pontive-instance-id<token>Instance ID for the request
Create access key payload
application/json- body
Create access key payload
confidentiality*string"secret""publishable"description?stringexpires_at?stringmetadata?name*stringrevealable?booleanservice_account_id*stringCreated
application/json- response
confidentiality?string"secret""publishable"created_at?stringdescription?stringexpires_at?stringid?stringinstance_id?stringkey?stringkey_preview?stringlast_used_at?stringmetadata?name?stringobject?stringrevealable?booleanservice_account_id?stringstatus?string"active""revoked""deleted""expired"updated_at?stringcurl -X POST 'https://api.us.pontive.com/v1/access-keys' \ -H 'Content-Type: application/json' \ -d '{ "confidentiality": "secret", "name": "string", "service_account_id": "string"}'{ "confidentiality": "secret", "created_at": "string", "description": "string", "expires_at": "string", "id": "string", "instance_id": "string", "key": "string", "key_preview": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "revealable": true, "service_account_id": "string", "status": "active", "updated_at": "string"}Get an access key by ID.
x-pontive-instance-id<token>Instance ID for the request
access_key_id*stringAccess Key ID
OK
application/json- response
confidentiality?string"secret""publishable"created_at?stringdescription?stringexpires_at?stringid?stringinstance_id?stringkey_preview?stringlast_used_at?stringmetadata?name?stringobject?stringrevealable?booleanservice_account_id?stringstatus?string"active""revoked""deleted""expired"updated_at?stringcurl -X GET 'https://api.us.pontive.com/v1/access-keys/string'{ "confidentiality": "secret", "created_at": "string", "description": "string", "expires_at": "string", "id": "string", "instance_id": "string", "key_preview": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "revealable": true, "service_account_id": "string", "status": "active", "updated_at": "string"}Update mutable fields (name, description, metadata).
x-pontive-instance-id<token>Instance ID for the request
access_key_id*stringAccess Key ID
Update payload
application/json- body
Update payload
description?stringmetadata?name?stringOK
application/json- response
confidentiality?string"secret""publishable"created_at?stringdescription?stringexpires_at?stringid?stringinstance_id?stringkey_preview?stringlast_used_at?stringmetadata?name?stringobject?stringrevealable?booleanservice_account_id?stringstatus?string"active""revoked""deleted""expired"updated_at?stringcurl -X PATCH 'https://api.us.pontive.com/v1/access-keys/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "confidentiality": "secret", "created_at": "string", "description": "string", "expires_at": "string", "id": "string", "instance_id": "string", "key_preview": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "revealable": true, "service_account_id": "string", "status": "active", "updated_at": "string"}Return the full plaintext credential value; only for a key minted revealable.
x-pontive-instance-id<token>Instance ID for the request
access_key_id*stringAccess Key ID
OK
application/json- response
key?stringcurl -X GET 'https://api.us.pontive.com/v1/access-keys/string/key'{ "key": "string"}Revoke an access key immediately and irreversibly.
x-pontive-instance-id<token>Instance ID for the request
access_key_id*stringAccess Key ID
No Content
curl -X POST 'https://api.us.pontive.com/v1/access-keys/string/revoke'