Roark · Schema
CreateMyApiKeyResponse
The created credential, with its key
CompanyVoice AITestingEvaluationBenchmarking
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Roark ID of the credential. Pass it to DELETE to revoke. |
| name | string | The label chosen when it was created |
| createdAt | string | ISO 8601 timestamp |
| lastUsedAt | stringnull | ISO 8601 timestamp, null if never used |
| expiresAt | stringnull | ISO 8601 timestamp, null if it never expires |
| status | stringnull | |
| organizationId | stringnull | The organization this credential is pinned to |
| defaultProjectId | stringnull | The project a request acts on when it sends no X-Roark-Project-Id header. Null once that project is deleted. |
| scopes | array | Coarse tier: READ, or WRITE for read and write |
| permissions | array | Granted 'resource:action' permissions |
| key | string | The credential value. Returned only here, only once. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/roark/json-schema/roark-create-my-api-key-response-schema.json",
"title": "CreateMyApiKeyResponse",
"description": "The created credential, with its key",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/roark-me-api-openapi.yml#/components/schemas/CreateMyApiKeyResponse",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Roark ID of the credential. Pass it to DELETE to revoke."
},
"name": {
"type": "string",
"description": "The label chosen when it was created"
},
"createdAt": {
"type": "string",
"description": "ISO 8601 timestamp"
},
"lastUsedAt": {
"type": [
"string",
"null"
],
"description": "ISO 8601 timestamp, null if never used"
},
"expiresAt": {
"type": [
"string",
"null"
],
"description": "ISO 8601 timestamp, null if it never expires"
},
"status": {
"type": [
"string",
"null"
],
"enum": [
"ACTIVE",
"REVOKED"
]
},
"organizationId": {
"type": [
"string",
"null"
],
"description": "The organization this credential is pinned to"
},
"defaultProjectId": {
"type": [
"string",
"null"
],
"description": "The project a request acts on when it sends no X-Roark-Project-Id header. Null once that project is deleted."
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Coarse tier: READ, or WRITE for read and write"
},
"permissions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Granted 'resource:action' permissions"
},
"key": {
"type": "string",
"description": "The credential value. Returned only here, only once."
}
},
"required": [
"id",
"name",
"createdAt",
"lastUsedAt",
"expiresAt",
"status",
"organizationId",
"defaultProjectId",
"scopes",
"permissions",
"key"
]
}
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/roark-create-my-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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.