Properties
| Name | Type | Description |
|---|---|---|
| success | boolean | |
| operation | string | |
| action | string | kebab-case verb; matches the route segment. |
| item | objectnull | |
| result | object | |
| meta | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/gtm-api/json-schema/gtm-api-rotate-api-key-response-schema.json",
"title": "RotateApiKeyResponse",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/gtm-api-api-keys-api-openapi.yml#/components/schemas/RotateApiKeyResponse",
"type": "object",
"properties": {
"success": {
"type": "boolean",
"enum": [
true
]
},
"operation": {
"type": "string",
"enum": [
"action"
]
},
"action": {
"type": "string",
"description": "kebab-case verb; matches the route segment."
},
"item": {
"type": [
"object",
"null"
],
"properties": {
"sid": {
"type": "string"
},
"team_sid": {
"type": "string"
},
"name": {
"type": "string"
},
"token_prefix": {
"type": "string"
},
"token_last4": {
"type": "string"
},
"permissions": {
"type": "array",
"items": {
"type": "string"
}
},
"account_sids": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"status": {
"type": "string",
"enum": [
"active",
"revoked",
"expired"
]
},
"expires_at": {
"type": [
"string",
"null"
]
},
"last_used_at": {
"type": [
"string",
"null"
]
},
"created_by": {
"type": "object",
"properties": {
"actor_type": {
"type": "string",
"enum": [
"user",
"support",
"api_key",
"system",
"agent"
]
},
"actor_sid": {
"type": [
"string",
"null"
]
},
"team_sid": {
"type": "string"
},
"actor_name": {
"type": [
"string",
"null"
],
"description": "The OAuth client that acted (\"Claude\", \"n8n\"); null for a user, an API key or a system job."
},
"oauth_client_sid": {
"type": [
"string",
"null"
],
"description": "The acting OAuth client (id_oc_*); null off the OAuth path."
},
"reason": {
"type": [
"string",
"null"
],
"description": "Why a system actor wrote the row (snapshot_capture_job, ...); null otherwise."
},
"permissions": {
"type": "object",
"additionalProperties": {},
"description": "Internal audit context: the grant set the actor held at write time. Not a contract."
},
"cluster_id": {
"type": [
"integer",
"null"
],
"description": "Internal audit context: the cluster that served the write."
},
"trace_id": {
"type": [
"string",
"null"
],
"description": "Internal audit context: the trace id of the request that wrote the row."
}
},
"required": [
"actor_type",
"actor_sid",
"team_sid",
"permissions"
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"deleted_at": {
"type": [
"string",
"null"
]
},
"plaintext_token": {
"type": [
"string",
"null"
]
}
},
"required": [
"sid",
"team_sid",
"name",
"token_prefix",
"token_last4",
"permissions",
"account_sids",
"status",
"expires_at",
"last_used_at",
"created_by",
"created_at",
"updated_at",
"deleted_at"
]
},
"result": {
"type": "object",
"additionalProperties": {}
},
"meta": {
"type": "object",
"properties": {
"trace_id": {
"type": "string",
"description": "UUID v7; same 128-bit value as the X-Trace-Id header."
},
"span_id": {
"type": "string",
"pattern": "^[0-9a-f]{16}$",
"description": "16 hex chars, root span of this request."
},
"timestamp": {
"type": "string",
"description": "ISO 8601 UTC (Y-m-dTH:i:sZ), response time."
},
"duration_ms": {
"type": "integer",
"minimum": 0,
"description": "Server-side wall clock."
},
"team_sid": {
"type": [
"string",
"null"
],
"description": "The team this call ran in (the token team, or the team_sid override). Null when unauthenticated; absent from pre-2026-08-20 backends."
},
"actor_type": {
"type": [
"string",
"null"
],
"description": "user | agent | api_key | system. Null when unauthenticated; absent from pre-2026-08-20 backends."
}
},
"required": [
"trace_id",
"span_id",
"timestamp",
"duration_ms"
]
}
},
"required": [
"success",
"operation",
"action",
"item",
"result",
"meta"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/gtm-api-rotate-api-key-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.