Registered APIs
List the instance's registered APIs, the system API (the management API, read-only) included unless exclude_system.
x-pontive-instance-id<token>Instance ID for the request
status?stringOnly APIs in this status
"active""disabled"exclude_system?booleanLeave the system API out
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/apis'{ "data": [ { "access_token_ttl": 0, "client_access": "all", "created_at": "string", "description": "string", "id": "string", "identifier": "string", "instance_id": "string", "name": "string", "object": "string", "resource_metadata": { "logo_uri": "string", "resource_documentation": "string", "resource_name": "string" }, "scopes": [ { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] } ], "status": "active", "system": true, "third_party": true, "updated_at": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Register a resource server: its identifier, the resource clients send (RFC 8707) and the aud of every token issued for it, and the scopes clients may request for it. The identifier is any absolute URI or opaque string, an https URL being the form MCP clients can discover; it cannot be changed later.
x-pontive-instance-id<token>Instance ID for the request
Create API payload
application/json- body
Create API payload
access_token_ttl?integerAccessTokenTTL absent or 0 is the default, 900.
client_access?stringClientAccess absent is the default, all.
"all""selected"description?stringidentifier?stringname?stringresource_metadata?ResourceMetadata, when present, replaces the metadata wholesale; null clears it.
scopes?array<>third_party?booleanCreated
application/json- response
access_token_ttl?integerAccessTokenTTL is the lifetime of tokens issued for the API, in seconds: 60 to 86400.
client_access?stringClientAccess governs apps only: all lets every app of the instance request the API, selected only those with a client grant. Service accounts and agents always need a grant (44 §7).
"all""selected"created_at?stringdescription?stringid?stringidentifier?stringIdentifier is immutable: any absolute URI or opaque string, https URLs normalised (44 §4).
instance_id?stringname?stringobject?stringresource_metadata?ResourceMetadata, when present, replaces the metadata wholesale; null clears it.
scopes?array<>status?string"active""disabled"system?booleanSystem is true only for the management API, which nobody can change but for its client grants (PUT /apis/{api_id}/clients).
third_party?booleanThirdParty is whether third-party (CIMD, DCR) clients may request it.
updated_at?stringcurl -X POST 'https://api.us.pontive.com/v1/apis' \ -H 'Content-Type: application/json' \ -d '{}'{ "access_token_ttl": 0, "client_access": "all", "created_at": "string", "description": "string", "id": "string", "identifier": "string", "instance_id": "string", "name": "string", "object": "string", "resource_metadata": { "logo_uri": "string", "resource_documentation": "string", "resource_name": "string" }, "scopes": [ { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] } ], "status": "active", "system": true, "third_party": true, "updated_at": "string"}Get a registered API by id.
x-pontive-instance-id<token>Instance ID for the request
api_id*stringAPI id (api_…)
OK
application/json- response
access_token_ttl?integerAccessTokenTTL is the lifetime of tokens issued for the API, in seconds: 60 to 86400.
client_access?stringClientAccess governs apps only: all lets every app of the instance request the API, selected only those with a client grant. Service accounts and agents always need a grant (44 §7).
"all""selected"created_at?stringdescription?stringid?stringidentifier?stringIdentifier is immutable: any absolute URI or opaque string, https URLs normalised (44 §4).
instance_id?stringname?stringobject?stringresource_metadata?ResourceMetadata, when present, replaces the metadata wholesale; null clears it.
scopes?array<>status?string"active""disabled"system?booleanSystem is true only for the management API, which nobody can change but for its client grants (PUT /apis/{api_id}/clients).
third_party?booleanThirdParty is whether third-party (CIMD, DCR) clients may request it.
updated_at?stringcurl -X GET 'https://api.us.pontive.com/v1/apis/string'{ "access_token_ttl": 0, "client_access": "all", "created_at": "string", "description": "string", "id": "string", "identifier": "string", "instance_id": "string", "name": "string", "object": "string", "resource_metadata": { "logo_uri": "string", "resource_documentation": "string", "resource_name": "string" }, "scopes": [ { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] } ], "status": "active", "system": true, "third_party": true, "updated_at": "string"}Change an API's name, description, scopes, token lifetime, client access, third-party switch or resource metadata; an absent field is left as it is. Scopes and resource metadata, when present, are replaced wholesale, and null clears them, as it does the description. The identifier cannot be changed. A system API refuses it; only its client grants can be changed.
x-pontive-instance-id<token>Instance ID for the request
api_id*stringAPI id (api_…)
Update payload
application/json- body
Update payload
access_token_ttl?integerclient_access?string"all""selected"description?stringDescription: absent leaves it, null or "" clears it.
name?stringresource_metadata?ResourceMetadata, when present, replaces the metadata wholesale; null clears it.
scopes?array<>Scopes, when present, replace the API's scopes wholesale; null or [] clears them.
third_party?booleanOK
application/json- response
access_token_ttl?integerAccessTokenTTL is the lifetime of tokens issued for the API, in seconds: 60 to 86400.
client_access?stringClientAccess governs apps only: all lets every app of the instance request the API, selected only those with a client grant. Service accounts and agents always need a grant (44 §7).
"all""selected"created_at?stringdescription?stringid?stringidentifier?stringIdentifier is immutable: any absolute URI or opaque string, https URLs normalised (44 §4).
instance_id?stringname?stringobject?stringresource_metadata?ResourceMetadata, when present, replaces the metadata wholesale; null clears it.
scopes?array<>status?string"active""disabled"system?booleanSystem is true only for the management API, which nobody can change but for its client grants (PUT /apis/{api_id}/clients).
third_party?booleanThirdParty is whether third-party (CIMD, DCR) clients may request it.
updated_at?stringcurl -X PATCH 'https://api.us.pontive.com/v1/apis/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "access_token_ttl": 0, "client_access": "all", "created_at": "string", "description": "string", "id": "string", "identifier": "string", "instance_id": "string", "name": "string", "object": "string", "resource_metadata": { "logo_uri": "string", "resource_documentation": "string", "resource_name": "string" }, "scopes": [ { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] } ], "status": "active", "system": true, "third_party": true, "updated_at": "string"}Delete an API with its client grants and consent grants. Refresh tokens issued for it fail at their next use with invalid_target. A system API refuses it.
x-pontive-instance-id<token>Instance ID for the request
api_id*stringAPI id (api_…)
No Content
curl -X DELETE 'https://api.us.pontive.com/v1/apis/string'The API's client grants: every service account and agent of the instance that may request it, and the apps that may when client_access is selected. Each holds every scope of the API (all_scopes) or the ones named.
x-pontive-instance-id<token>Instance ID for the request
api_id*stringAPI id (api_…)
page?integerPage number
limit?integerItems per page, 1 to 100
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/apis/string/clients'{ "data": [ { "all_scopes": true, "client_id": "string", "scopes": [ "string" ] } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Replace every client grant of the API with items; [] removes them all. Each names an app, service account or agent of the instance (never a third-party app) and every scope of the API (all_scopes) or a subset of its keys. The system API (the management API) takes client grants too, the only way a service account or agent reaches the management API: each names a service account or agent (an app is api_client_invalid) with scopes exactly ["pontive:management"] (all_scopes, no scopes or any other scope is api_scope_invalid).
x-pontive-instance-id<token>Instance ID for the request
api_id*stringAPI id (api_…)
The API's client grants
application/json- body
The API's client grants
items?array<>OK
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X PUT 'https://api.us.pontive.com/v1/apis/string/clients' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": [ { "all_scopes": true, "client_id": "string", "scopes": [ "string" ] } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Refuse new token requests for the API (invalid_target). Tokens already issued for it live out their lifetime. A system API refuses it.
x-pontive-instance-id<token>Instance ID for the request
api_id*stringAPI id (api_…)
OK
application/json- response
access_token_ttl?integerAccessTokenTTL is the lifetime of tokens issued for the API, in seconds: 60 to 86400.
client_access?stringClientAccess governs apps only: all lets every app of the instance request the API, selected only those with a client grant. Service accounts and agents always need a grant (44 §7).
"all""selected"created_at?stringdescription?stringid?stringidentifier?stringIdentifier is immutable: any absolute URI or opaque string, https URLs normalised (44 §4).
instance_id?stringname?stringobject?stringresource_metadata?ResourceMetadata, when present, replaces the metadata wholesale; null clears it.
scopes?array<>status?string"active""disabled"system?booleanSystem is true only for the management API, which nobody can change but for its client grants (PUT /apis/{api_id}/clients).
third_party?booleanThirdParty is whether third-party (CIMD, DCR) clients may request it.
updated_at?stringcurl -X POST 'https://api.us.pontive.com/v1/apis/string/disable'{ "access_token_ttl": 0, "client_access": "all", "created_at": "string", "description": "string", "id": "string", "identifier": "string", "instance_id": "string", "name": "string", "object": "string", "resource_metadata": { "logo_uri": "string", "resource_documentation": "string", "resource_name": "string" }, "scopes": [ { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] } ], "status": "active", "system": true, "third_party": true, "updated_at": "string"}Let clients request tokens for a disabled API again.
x-pontive-instance-id<token>Instance ID for the request
api_id*stringAPI id (api_…)
OK
application/json- response
access_token_ttl?integerAccessTokenTTL is the lifetime of tokens issued for the API, in seconds: 60 to 86400.
client_access?stringClientAccess governs apps only: all lets every app of the instance request the API, selected only those with a client grant. Service accounts and agents always need a grant (44 §7).
"all""selected"created_at?stringdescription?stringid?stringidentifier?stringIdentifier is immutable: any absolute URI or opaque string, https URLs normalised (44 §4).
instance_id?stringname?stringobject?stringresource_metadata?ResourceMetadata, when present, replaces the metadata wholesale; null clears it.
scopes?array<>status?string"active""disabled"system?booleanSystem is true only for the management API, which nobody can change but for its client grants (PUT /apis/{api_id}/clients).
third_party?booleanThirdParty is whether third-party (CIMD, DCR) clients may request it.
updated_at?stringcurl -X POST 'https://api.us.pontive.com/v1/apis/string/enable'{ "access_token_ttl": 0, "client_access": "all", "created_at": "string", "description": "string", "id": "string", "identifier": "string", "instance_id": "string", "name": "string", "object": "string", "resource_metadata": { "logo_uri": "string", "resource_documentation": "string", "resource_name": "string" }, "scopes": [ { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] } ], "status": "active", "system": true, "third_party": true, "updated_at": "string"}The RFC 9728 protected resource metadata document for the API, which its resource server serves at /.well-known/oauth-protected-resource (with the identifier's path appended). Only an API whose identifier is an https URL has one.
x-pontive-instance-id<token>Instance ID for the request
api_id*stringAPI id (api_…)
OK
application/json- response
authorization_servers?array<string>bearer_methods_supported?array<string>logo_uri?stringresource?stringresource_documentation?stringresource_name?stringscopes_supported?array<string>curl -X GET 'https://api.us.pontive.com/v1/apis/string/resource-metadata'{ "authorization_servers": [ "string" ], "bearer_methods_supported": [ "string" ], "logo_uri": "string", "resource": "string", "resource_documentation": "string", "resource_name": "string", "scopes_supported": [ "string" ]}Propose the API's tool scopes from an MCP server's tools/list result, sent as the server returns it ({tools, nextCursor?}) with the import's options beside it; Pontive never fetches from the server. One scope per group, then one tool: scope per tool in no group, with the tool's description, its title as display_name and its read-only and destructive hints. The response is the diff against the API's scopes: added, changed (with the fields that differ), removed (tool_import scopes no longer proposed, with what still names each) and unchanged. dry_run absent or true writes nothing; dry_run false writes the diff in one transaction. A removed scope is kept unless remove_missing; with it, one a client grant, consent grant or third-party profile still names refuses the import (api_scope_in_use) unless force. Manual scopes are never removed. At most 500 tools and 100 groups; the result is held to 100 scopes per API. A system API refuses it.
x-pontive-instance-id<token>Instance ID for the request
api_id*stringAPI id (api_…)
The tools/list result and the import's options
application/json- body
The tools/list result and the import's options
dry_run?booleanDryRun absent or true: return the diff and write nothing.
force?booleanForce, with remove_missing, removes them even while a client grant, consent grant or third-party profile names them.
groups?array<>Groups are at most 100.
nextCursor?stringNextCursor set means the result is one page of several, which is refused (api_tool_invalid): send every page's tools at once.
remove_missing?booleanRemoveMissing removes the tool_import scopes the result no longer proposes; without it they are kept and listed with action keep.
tools?array<>Tools are the tools/list result's: 1 to 500, each name once.
OK
application/json- response
added?array<>Added are new keys, in proposal order.
api?changed?array<>Changed, removed and unchanged are in the API's scope order.
dry_run?booleanDryRun is whether nothing was written.
object?stringremoved?array<>unchanged?array<>curl -X POST 'https://api.us.pontive.com/v1/apis/string/scopes/import' \ -H 'Content-Type: application/json' \ -d '{}'{ "added": [ { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] } ], "api": { "access_token_ttl": 0, "client_access": "all", "created_at": "string", "description": "string", "id": "string", "identifier": "string", "instance_id": "string", "name": "string", "object": "string", "resource_metadata": { "logo_uri": "string", "resource_documentation": "string", "resource_name": "string" }, "scopes": [ { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] } ], "status": "active", "system": true, "third_party": true, "updated_at": "string" }, "changed": [ { "after": { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] }, "before": { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] }, "fields": [ "description" ] } ], "dry_run": true, "object": "string", "removed": [ { "action": "keep", "references": { "client_grants": 0, "consent_grants": 0, "profile_entries": 0 }, "scope": { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] } } ], "unchanged": [ { "description": "string", "display_name": "string", "key": "string", "origin": "manual", "tools": [ { "destructive": true, "name": "string", "read_only": true, "title": "string" } ] } ]}