registry.submit
{
"id": "registry.submit",
"method": "POST",
"path": "/v1/registry/submissions",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "required",
"input": {
"$defs": {
"CommunityServer": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"description": {
"type": "string",
"maxLength": 1000
},
"endpoint": {
"type": "string",
"maxLength": 2048
},
"transport": {
"type": "string",
"enum": [
"streamable_http",
"sse"
]
},
"authKind": {
"type": "string",
"enum": [
"none",
"bearer",
"oauth2",
"api_key",
"unknown"
]
},
"requiredScopes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 32
},
"dataDestinations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048
},
"maxItems": 16
}
},
"required": [
"slug",
"name",
"description",
"endpoint",
"transport",
"authKind",
"requiredScopes",
"dataDestinations"
],
"additionalProperties": false
},
"CommunityTool": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]{0,63}$"
},
"description": {
"type": "string",
"maxLength": 2000
},
"effect": {
"type": "string",
"enum": [
"read",
"write",
"purchase",
"publish",
"unknown"
]
},
"inputSchema": {
"$ref": "#/$defs/CommunitySchemaDocument"
},
"outputSchema": {
"$ref": "#/$defs/CommunitySchemaDocument"
}
},
"required": [
"name",
"description",
"effect",
"inputSchema"
],
"additionalProperties": false
},
"CommunityContract": {
"type": "object",
"properties": {
"versionLabel": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"tools": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityTool"
},
"minItems": 1,
"maxItems": 128
}
},
"required": [
"versionLabel",
"tools"
],
"additionalProperties": false
},
"CommunityValidation": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"pending_validation",
"metadata_valid",
"metadata_invalid"
]
},
"validatorVersion": {
"type": "string",
"enum": [
"community01-metadata-v1"
]
},
"errors": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityIssue"
},
"maxItems": 32
}
},
"required": [
"status",
"validatorVersion",
"errors"
],
"additionalProperties": false
},
"CommunityIssue": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 256
},
"code": {
"type": "string",
"enum": [
"unsupported_keyword",
"invalid_keyword_type",
"duplicate_tool",
"schema_bound_exceeded",
"invalid_schema"
]
}
},
"required": [
"path",
"code"
],
"additionalProperties": false
},
"CommunityProjection": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"selectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"currentVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"previousHash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"publisherLabel": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"server": {
"$ref": "#/$defs/CommunityServer"
},
"contract": {
"$ref": "#/$defs/CommunityContract"
},
"validation": {
"$ref": "#/$defs/CommunityValidation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"publisherId",
"submissionId",
"selectedVersion",
"currentVersion",
"contentHash",
"previousHash",
"publisherLabel",
"server",
"contract",
"validation",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunityWriteAck": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"validationAtAcknowledgment": {
"const": "pending_validation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
}
},
"required": [
"publisherId",
"submissionId",
"contentHash",
"version",
"validationAtAcknowledgment",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunityValidateAck": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"validation": {
"$ref": "#/$defs/CommunityValidation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
}
},
"required": [
"publisherId",
"submissionId",
"contentHash",
"version",
"validation",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunitySupportedSchema": {
"type": "object",
"properties": {
"type": {
"anyOf": [
{
"type": "string",
"enum": [
"object",
"array",
"string",
"integer",
"number",
"boolean",
"null"
]
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"object",
"array",
"string",
"integer",
"number",
"boolean",
"null"
]
},
"minItems": 1,
"maxItems": 7,
"uniqueItems": true
}
]
},
"properties": {
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySupportedSchema"
}
},
"required": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"maxItems": 128,
"uniqueItems": true
},
"additionalProperties": {
"anyOf": [
{
"type": "boolean"
},
{
"$ref": "#/$defs/CommunitySupportedSchema"
}
]
},
"items": {
"$ref": "#/$defs/CommunitySupportedSchema"
},
"uniqueItems": {
"type": "boolean"
},
"enum": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"minItems": 1,
"maxItems": 128
},
"const": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"description": {
"type": "string",
"maxLength": 4096
},
"title": {
"type": "string",
"maxLength": 256
},
"minItems": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"maxItems": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minLength": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"maxLength": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [],
"additionalProperties": false,
"description": "Semantic supportedsubset ONLY. Unsupported/ref/complexkeywords are metadata_invalid data, neverresolved/evaluated. Safe input schemaDocument has independent depth/node/string/body bounds."
},
"CommunitySchemaValue": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {
"$ref": "#/$defs/CommunitySchemaValue"
},
"maxItems": 128
},
{
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySchemaValue"
}
}
]
},
"CommunitySchemaDocument": {
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySchemaValue"
},
"description": "Bounded declarative schema DATA domain only; unsupportedkeywordnamespersistforfeedback, globallyforbiddencredential/contact/prototypefields+depth/node/body/string limitscheckedbeforepersist. No publisherURL/ref everresolved."
},
"CommunityFinding": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 512
},
"code": {
"enum": [
"tool_changed",
"tool_added",
"tool_removed",
"scope_added",
"scope_removed",
"destination_changed",
"endpoint_changed",
"auth_changed",
"price_changed"
]
}
},
"required": [
"path",
"code"
],
"additionalProperties": false
},
"CommunityReviewAck": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"format": "uuid"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"reviewId": {
"type": "string",
"format": "uuid"
},
"reviewKind": {
"enum": [
"requested",
"evaluated"
]
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"findings": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityFinding"
},
"maxItems": 32
}
},
"required": [
"submissionId",
"version",
"contentHash",
"reviewId",
"reviewKind",
"review",
"reviewedVersion",
"listing",
"approval",
"communityStatus",
"findings"
],
"additionalProperties": false
},
"CommunityEvaluateAck": {
"type": "object",
"properties": {
"reviewId": {
"type": "string",
"format": "uuid"
},
"state": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"currentDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"findings": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityFinding"
},
"maxItems": 32
}
},
"required": [
"reviewId",
"state",
"reviewedVersion",
"reviewedDigest",
"currentDigest",
"listing",
"findings"
],
"additionalProperties": false
},
"CommunityDecisionAck": {
"type": "object",
"properties": {
"reviewId": {
"type": "string",
"format": "uuid"
},
"decision": {
"enum": [
"approved",
"refused"
]
},
"state": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"note": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
}
},
"required": [
"reviewId",
"decision",
"state",
"reviewedVersion",
"reviewedDigest",
"communityStatus",
"listing",
"note"
],
"additionalProperties": false
},
"CommunitySuspensionAck": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"format": "uuid"
},
"listing": {
"const": "suspended"
},
"reason": {
"enum": [
"publisher_request",
"policy",
"security",
"ownership",
"inactive"
]
},
"at": {
"type": "string"
}
},
"required": [
"submissionId",
"listing",
"reason",
"at"
],
"additionalProperties": false
}
},
"type": "object",
"properties": {
"publisherLabel": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"server": {
"$ref": "#/$defs/CommunityServer"
},
"contract": {
"$ref": "#/$defs/CommunityContract"
}
},
"required": [
"publisherLabel",
"server",
"contract"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
registry.status
{
"id": "registry.status",
"method": "GET",
"path": "/v1/registry/submissions/{submissionId}",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"$defs": {
"CommunityServer": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"description": {
"type": "string",
"maxLength": 1000
},
"endpoint": {
"type": "string",
"maxLength": 2048
},
"transport": {
"type": "string",
"enum": [
"streamable_http",
"sse"
]
},
"authKind": {
"type": "string",
"enum": [
"none",
"bearer",
"oauth2",
"api_key",
"unknown"
]
},
"requiredScopes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 32
},
"dataDestinations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048
},
"maxItems": 16
}
},
"required": [
"slug",
"name",
"description",
"endpoint",
"transport",
"authKind",
"requiredScopes",
"dataDestinations"
],
"additionalProperties": false
},
"CommunityTool": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]{0,63}$"
},
"description": {
"type": "string",
"maxLength": 2000
},
"effect": {
"type": "string",
"enum": [
"read",
"write",
"purchase",
"publish",
"unknown"
]
},
"inputSchema": {
"$ref": "#/$defs/CommunitySchemaDocument"
},
"outputSchema": {
"$ref": "#/$defs/CommunitySchemaDocument"
}
},
"required": [
"name",
"description",
"effect",
"inputSchema"
],
"additionalProperties": false
},
"CommunityContract": {
"type": "object",
"properties": {
"versionLabel": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"tools": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityTool"
},
"minItems": 1,
"maxItems": 128
}
},
"required": [
"versionLabel",
"tools"
],
"additionalProperties": false
},
"CommunityValidation": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"pending_validation",
"metadata_valid",
"metadata_invalid"
]
},
"validatorVersion": {
"type": "string",
"enum": [
"community01-metadata-v1"
]
},
"errors": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityIssue"
},
"maxItems": 32
}
},
"required": [
"status",
"validatorVersion",
"errors"
],
"additionalProperties": false
},
"CommunityIssue": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 256
},
"code": {
"type": "string",
"enum": [
"unsupported_keyword",
"invalid_keyword_type",
"duplicate_tool",
"schema_bound_exceeded",
"invalid_schema"
]
}
},
"required": [
"path",
"code"
],
"additionalProperties": false
},
"CommunityProjection": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"selectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"currentVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"previousHash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"publisherLabel": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"server": {
"$ref": "#/$defs/CommunityServer"
},
"contract": {
"$ref": "#/$defs/CommunityContract"
},
"validation": {
"$ref": "#/$defs/CommunityValidation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"publisherId",
"submissionId",
"selectedVersion",
"currentVersion",
"contentHash",
"previousHash",
"publisherLabel",
"server",
"contract",
"validation",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunityWriteAck": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"validationAtAcknowledgment": {
"const": "pending_validation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
}
},
"required": [
"publisherId",
"submissionId",
"contentHash",
"version",
"validationAtAcknowledgment",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunityValidateAck": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"validation": {
"$ref": "#/$defs/CommunityValidation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
}
},
"required": [
"publisherId",
"submissionId",
"contentHash",
"version",
"validation",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunitySupportedSchema": {
"type": "object",
"properties": {
"type": {
"anyOf": [
{
"type": "string",
"enum": [
"object",
"array",
"string",
"integer",
"number",
"boolean",
"null"
]
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"object",
"array",
"string",
"integer",
"number",
"boolean",
"null"
]
},
"minItems": 1,
"maxItems": 7,
"uniqueItems": true
}
]
},
"properties": {
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySupportedSchema"
}
},
"required": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"maxItems": 128,
"uniqueItems": true
},
"additionalProperties": {
"anyOf": [
{
"type": "boolean"
},
{
"$ref": "#/$defs/CommunitySupportedSchema"
}
]
},
"items": {
"$ref": "#/$defs/CommunitySupportedSchema"
},
"uniqueItems": {
"type": "boolean"
},
"enum": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"minItems": 1,
"maxItems": 128
},
"const": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"description": {
"type": "string",
"maxLength": 4096
},
"title": {
"type": "string",
"maxLength": 256
},
"minItems": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"maxItems": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minLength": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"maxLength": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [],
"additionalProperties": false,
"description": "Semantic supportedsubset ONLY. Unsupported/ref/complexkeywords are metadata_invalid data, neverresolved/evaluated. Safe input schemaDocument has independent depth/node/string/body bounds."
},
"CommunitySchemaValue": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {
"$ref": "#/$defs/CommunitySchemaValue"
},
"maxItems": 128
},
{
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySchemaValue"
}
}
]
},
"CommunitySchemaDocument": {
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySchemaValue"
},
"description": "Bounded declarative schema DATA domain only; unsupportedkeywordnamespersistforfeedback, globallyforbiddencredential/contact/prototypefields+depth/node/body/string limitscheckedbeforepersist. No publisherURL/ref everresolved."
},
"CommunityFinding": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 512
},
"code": {
"enum": [
"tool_changed",
"tool_added",
"tool_removed",
"scope_added",
"scope_removed",
"destination_changed",
"endpoint_changed",
"auth_changed",
"price_changed"
]
}
},
"required": [
"path",
"code"
],
"additionalProperties": false
},
"CommunityReviewAck": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"format": "uuid"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"reviewId": {
"type": "string",
"format": "uuid"
},
"reviewKind": {
"enum": [
"requested",
"evaluated"
]
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"findings": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityFinding"
},
"maxItems": 32
}
},
"required": [
"submissionId",
"version",
"contentHash",
"reviewId",
"reviewKind",
"review",
"reviewedVersion",
"listing",
"approval",
"communityStatus",
"findings"
],
"additionalProperties": false
},
"CommunityEvaluateAck": {
"type": "object",
"properties": {
"reviewId": {
"type": "string",
"format": "uuid"
},
"state": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"currentDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"findings": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityFinding"
},
"maxItems": 32
}
},
"required": [
"reviewId",
"state",
"reviewedVersion",
"reviewedDigest",
"currentDigest",
"listing",
"findings"
],
"additionalProperties": false
},
"CommunityDecisionAck": {
"type": "object",
"properties": {
"reviewId": {
"type": "string",
"format": "uuid"
},
"decision": {
"enum": [
"approved",
"refused"
]
},
"state": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"note": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
}
},
"required": [
"reviewId",
"decision",
"state",
"reviewedVersion",
"reviewedDigest",
"communityStatus",
"listing",
"note"
],
"additionalProperties": false
},
"CommunitySuspensionAck": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"format": "uuid"
},
"listing": {
"const": "suspended"
},
"reason": {
"enum": [
"publisher_request",
"policy",
"security",
"ownership",
"inactive"
]
},
"at": {
"type": "string"
}
},
"required": [
"submissionId",
"listing",
"reason",
"at"
],
"additionalProperties": false
}
},
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"submissionId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [],
"additionalProperties": false
}
}
registry.update
{
"id": "registry.update",
"method": "POST",
"path": "/v1/registry/submissions/{submissionId}",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "required",
"input": {
"$defs": {
"CommunityServer": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"description": {
"type": "string",
"maxLength": 1000
},
"endpoint": {
"type": "string",
"maxLength": 2048
},
"transport": {
"type": "string",
"enum": [
"streamable_http",
"sse"
]
},
"authKind": {
"type": "string",
"enum": [
"none",
"bearer",
"oauth2",
"api_key",
"unknown"
]
},
"requiredScopes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 32
},
"dataDestinations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048
},
"maxItems": 16
}
},
"required": [
"slug",
"name",
"description",
"endpoint",
"transport",
"authKind",
"requiredScopes",
"dataDestinations"
],
"additionalProperties": false
},
"CommunityTool": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]{0,63}$"
},
"description": {
"type": "string",
"maxLength": 2000
},
"effect": {
"type": "string",
"enum": [
"read",
"write",
"purchase",
"publish",
"unknown"
]
},
"inputSchema": {
"$ref": "#/$defs/CommunitySchemaDocument"
},
"outputSchema": {
"$ref": "#/$defs/CommunitySchemaDocument"
}
},
"required": [
"name",
"description",
"effect",
"inputSchema"
],
"additionalProperties": false
},
"CommunityContract": {
"type": "object",
"properties": {
"versionLabel": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"tools": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityTool"
},
"minItems": 1,
"maxItems": 128
}
},
"required": [
"versionLabel",
"tools"
],
"additionalProperties": false
},
"CommunityValidation": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"pending_validation",
"metadata_valid",
"metadata_invalid"
]
},
"validatorVersion": {
"type": "string",
"enum": [
"community01-metadata-v1"
]
},
"errors": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityIssue"
},
"maxItems": 32
}
},
"required": [
"status",
"validatorVersion",
"errors"
],
"additionalProperties": false
},
"CommunityIssue": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 256
},
"code": {
"type": "string",
"enum": [
"unsupported_keyword",
"invalid_keyword_type",
"duplicate_tool",
"schema_bound_exceeded",
"invalid_schema"
]
}
},
"required": [
"path",
"code"
],
"additionalProperties": false
},
"CommunityProjection": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"selectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"currentVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"previousHash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"publisherLabel": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"server": {
"$ref": "#/$defs/CommunityServer"
},
"contract": {
"$ref": "#/$defs/CommunityContract"
},
"validation": {
"$ref": "#/$defs/CommunityValidation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"publisherId",
"submissionId",
"selectedVersion",
"currentVersion",
"contentHash",
"previousHash",
"publisherLabel",
"server",
"contract",
"validation",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunityWriteAck": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"validationAtAcknowledgment": {
"const": "pending_validation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
}
},
"required": [
"publisherId",
"submissionId",
"contentHash",
"version",
"validationAtAcknowledgment",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunityValidateAck": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"validation": {
"$ref": "#/$defs/CommunityValidation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
}
},
"required": [
"publisherId",
"submissionId",
"contentHash",
"version",
"validation",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunitySupportedSchema": {
"type": "object",
"properties": {
"type": {
"anyOf": [
{
"type": "string",
"enum": [
"object",
"array",
"string",
"integer",
"number",
"boolean",
"null"
]
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"object",
"array",
"string",
"integer",
"number",
"boolean",
"null"
]
},
"minItems": 1,
"maxItems": 7,
"uniqueItems": true
}
]
},
"properties": {
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySupportedSchema"
}
},
"required": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"maxItems": 128,
"uniqueItems": true
},
"additionalProperties": {
"anyOf": [
{
"type": "boolean"
},
{
"$ref": "#/$defs/CommunitySupportedSchema"
}
]
},
"items": {
"$ref": "#/$defs/CommunitySupportedSchema"
},
"uniqueItems": {
"type": "boolean"
},
"enum": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"minItems": 1,
"maxItems": 128
},
"const": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"description": {
"type": "string",
"maxLength": 4096
},
"title": {
"type": "string",
"maxLength": 256
},
"minItems": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"maxItems": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minLength": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"maxLength": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [],
"additionalProperties": false,
"description": "Semantic supportedsubset ONLY. Unsupported/ref/complexkeywords are metadata_invalid data, neverresolved/evaluated. Safe input schemaDocument has independent depth/node/string/body bounds."
},
"CommunitySchemaValue": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {
"$ref": "#/$defs/CommunitySchemaValue"
},
"maxItems": 128
},
{
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySchemaValue"
}
}
]
},
"CommunitySchemaDocument": {
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySchemaValue"
},
"description": "Bounded declarative schema DATA domain only; unsupportedkeywordnamespersistforfeedback, globallyforbiddencredential/contact/prototypefields+depth/node/body/string limitscheckedbeforepersist. No publisherURL/ref everresolved."
},
"CommunityFinding": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 512
},
"code": {
"enum": [
"tool_changed",
"tool_added",
"tool_removed",
"scope_added",
"scope_removed",
"destination_changed",
"endpoint_changed",
"auth_changed",
"price_changed"
]
}
},
"required": [
"path",
"code"
],
"additionalProperties": false
},
"CommunityReviewAck": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"format": "uuid"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"reviewId": {
"type": "string",
"format": "uuid"
},
"reviewKind": {
"enum": [
"requested",
"evaluated"
]
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"findings": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityFinding"
},
"maxItems": 32
}
},
"required": [
"submissionId",
"version",
"contentHash",
"reviewId",
"reviewKind",
"review",
"reviewedVersion",
"listing",
"approval",
"communityStatus",
"findings"
],
"additionalProperties": false
},
"CommunityEvaluateAck": {
"type": "object",
"properties": {
"reviewId": {
"type": "string",
"format": "uuid"
},
"state": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"currentDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"findings": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityFinding"
},
"maxItems": 32
}
},
"required": [
"reviewId",
"state",
"reviewedVersion",
"reviewedDigest",
"currentDigest",
"listing",
"findings"
],
"additionalProperties": false
},
"CommunityDecisionAck": {
"type": "object",
"properties": {
"reviewId": {
"type": "string",
"format": "uuid"
},
"decision": {
"enum": [
"approved",
"refused"
]
},
"state": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"note": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
}
},
"required": [
"reviewId",
"decision",
"state",
"reviewedVersion",
"reviewedDigest",
"communityStatus",
"listing",
"note"
],
"additionalProperties": false
},
"CommunitySuspensionAck": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"format": "uuid"
},
"listing": {
"const": "suspended"
},
"reason": {
"enum": [
"publisher_request",
"policy",
"security",
"ownership",
"inactive"
]
},
"at": {
"type": "string"
}
},
"required": [
"submissionId",
"listing",
"reason",
"at"
],
"additionalProperties": false
}
},
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740990
},
"server": {
"$ref": "#/$defs/CommunityServer"
},
"contract": {
"$ref": "#/$defs/CommunityContract"
}
},
"required": [
"expectedVersion",
"server",
"contract"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"submissionId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
registry.validate
{
"id": "registry.validate",
"method": "POST",
"path": "/v1/registry/submissions/{submissionId}/validate",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "required",
"input": {
"$defs": {
"CommunityServer": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"description": {
"type": "string",
"maxLength": 1000
},
"endpoint": {
"type": "string",
"maxLength": 2048
},
"transport": {
"type": "string",
"enum": [
"streamable_http",
"sse"
]
},
"authKind": {
"type": "string",
"enum": [
"none",
"bearer",
"oauth2",
"api_key",
"unknown"
]
},
"requiredScopes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 32
},
"dataDestinations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048
},
"maxItems": 16
}
},
"required": [
"slug",
"name",
"description",
"endpoint",
"transport",
"authKind",
"requiredScopes",
"dataDestinations"
],
"additionalProperties": false
},
"CommunityTool": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]{0,63}$"
},
"description": {
"type": "string",
"maxLength": 2000
},
"effect": {
"type": "string",
"enum": [
"read",
"write",
"purchase",
"publish",
"unknown"
]
},
"inputSchema": {
"$ref": "#/$defs/CommunitySchemaDocument"
},
"outputSchema": {
"$ref": "#/$defs/CommunitySchemaDocument"
}
},
"required": [
"name",
"description",
"effect",
"inputSchema"
],
"additionalProperties": false
},
"CommunityContract": {
"type": "object",
"properties": {
"versionLabel": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"tools": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityTool"
},
"minItems": 1,
"maxItems": 128
}
},
"required": [
"versionLabel",
"tools"
],
"additionalProperties": false
},
"CommunityValidation": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"pending_validation",
"metadata_valid",
"metadata_invalid"
]
},
"validatorVersion": {
"type": "string",
"enum": [
"community01-metadata-v1"
]
},
"errors": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityIssue"
},
"maxItems": 32
}
},
"required": [
"status",
"validatorVersion",
"errors"
],
"additionalProperties": false
},
"CommunityIssue": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 256
},
"code": {
"type": "string",
"enum": [
"unsupported_keyword",
"invalid_keyword_type",
"duplicate_tool",
"schema_bound_exceeded",
"invalid_schema"
]
}
},
"required": [
"path",
"code"
],
"additionalProperties": false
},
"CommunityProjection": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"selectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"currentVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"previousHash": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"publisherLabel": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"server": {
"$ref": "#/$defs/CommunityServer"
},
"contract": {
"$ref": "#/$defs/CommunityContract"
},
"validation": {
"$ref": "#/$defs/CommunityValidation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"publisherId",
"submissionId",
"selectedVersion",
"currentVersion",
"contentHash",
"previousHash",
"publisherLabel",
"server",
"contract",
"validation",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunityWriteAck": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"validationAtAcknowledgment": {
"const": "pending_validation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
}
},
"required": [
"publisherId",
"submissionId",
"contentHash",
"version",
"validationAtAcknowledgment",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunityValidateAck": {
"type": "object",
"properties": {
"publisherId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"validation": {
"$ref": "#/$defs/CommunityValidation"
},
"visibility": {
"const": "private"
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"ownership": {
"const": "not_verified"
},
"endpointHealth": {
"const": "not_checked"
},
"executable": {
"const": false
},
"publicationEligible": {
"const": false
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
}
},
"required": [
"publisherId",
"submissionId",
"contentHash",
"version",
"validation",
"visibility",
"communityStatus",
"approval",
"ownership",
"endpointHealth",
"executable",
"publicationEligible"
],
"additionalProperties": false
},
"CommunitySupportedSchema": {
"type": "object",
"properties": {
"type": {
"anyOf": [
{
"type": "string",
"enum": [
"object",
"array",
"string",
"integer",
"number",
"boolean",
"null"
]
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"object",
"array",
"string",
"integer",
"number",
"boolean",
"null"
]
},
"minItems": 1,
"maxItems": 7,
"uniqueItems": true
}
]
},
"properties": {
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySupportedSchema"
}
},
"required": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"maxItems": 128,
"uniqueItems": true
},
"additionalProperties": {
"anyOf": [
{
"type": "boolean"
},
{
"$ref": "#/$defs/CommunitySupportedSchema"
}
]
},
"items": {
"$ref": "#/$defs/CommunitySupportedSchema"
},
"uniqueItems": {
"type": "boolean"
},
"enum": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"minItems": 1,
"maxItems": 128
},
"const": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"description": {
"type": "string",
"maxLength": 4096
},
"title": {
"type": "string",
"maxLength": 256
},
"minItems": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"maxItems": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minLength": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"maxLength": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [],
"additionalProperties": false,
"description": "Semantic supportedsubset ONLY. Unsupported/ref/complexkeywords are metadata_invalid data, neverresolved/evaluated. Safe input schemaDocument has independent depth/node/string/body bounds."
},
"CommunitySchemaValue": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {
"$ref": "#/$defs/CommunitySchemaValue"
},
"maxItems": 128
},
{
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySchemaValue"
}
}
]
},
"CommunitySchemaDocument": {
"type": "object",
"maxProperties": 128,
"additionalProperties": {
"$ref": "#/$defs/CommunitySchemaValue"
},
"description": "Bounded declarative schema DATA domain only; unsupportedkeywordnamespersistforfeedback, globallyforbiddencredential/contact/prototypefields+depth/node/body/string limitscheckedbeforepersist. No publisherURL/ref everresolved."
},
"CommunityFinding": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 512
},
"code": {
"enum": [
"tool_changed",
"tool_added",
"tool_removed",
"scope_added",
"scope_removed",
"destination_changed",
"endpoint_changed",
"auth_changed",
"price_changed"
]
}
},
"required": [
"path",
"code"
],
"additionalProperties": false
},
"CommunityReviewAck": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"format": "uuid"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"reviewId": {
"type": "string",
"format": "uuid"
},
"reviewKind": {
"enum": [
"requested",
"evaluated"
]
},
"review": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"approval": {
"enum": [
"not_reviewed",
"reviewed",
"stale"
]
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"findings": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityFinding"
},
"maxItems": 32
}
},
"required": [
"submissionId",
"version",
"contentHash",
"reviewId",
"reviewKind",
"review",
"reviewedVersion",
"listing",
"approval",
"communityStatus",
"findings"
],
"additionalProperties": false
},
"CommunityEvaluateAck": {
"type": "object",
"properties": {
"reviewId": {
"type": "string",
"format": "uuid"
},
"state": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"currentDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"findings": {
"type": "array",
"items": {
"$ref": "#/$defs/CommunityFinding"
},
"maxItems": 32
}
},
"required": [
"reviewId",
"state",
"reviewedVersion",
"reviewedDigest",
"currentDigest",
"listing",
"findings"
],
"additionalProperties": false
},
"CommunityDecisionAck": {
"type": "object",
"properties": {
"reviewId": {
"type": "string",
"format": "uuid"
},
"decision": {
"enum": [
"approved",
"refused"
]
},
"state": {
"enum": [
"not_requested",
"requested",
"reviewed",
"stale",
"unreviewed",
"refused"
]
},
"reviewedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"reviewedDigest": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"communityStatus": {
"enum": [
"listed",
"not_listed"
]
},
"listing": {
"enum": [
"not_listed",
"listed",
"suspended"
]
},
"note": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
}
},
"required": [
"reviewId",
"decision",
"state",
"reviewedVersion",
"reviewedDigest",
"communityStatus",
"listing",
"note"
],
"additionalProperties": false
},
"CommunitySuspensionAck": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"format": "uuid"
},
"listing": {
"const": "suspended"
},
"reason": {
"enum": [
"publisher_request",
"policy",
"security",
"ownership",
"inactive"
]
},
"at": {
"type": "string"
}
},
"required": [
"submissionId",
"listing",
"reason",
"at"
],
"additionalProperties": false
}
},
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"submissionId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.signup
{
"id": "account.signup",
"method": "POST",
"path": "/v1/signup",
"authentication": "public (no bearer required)",
"scope": null,
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"agent": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"vendor": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"url": {
"type": "string",
"maxLength": 2048,
"format": "uri",
"pattern": "^https://"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"terms": {
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"accepted": {
"const": true
}
},
"required": [
"version",
"accepted"
],
"additionalProperties": false
},
"invite": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{32,128}$"
}
},
"required": [
"agent",
"terms"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.close
{
"id": "account.close",
"method": "POST",
"path": "/v1/account/close",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.whoami
{
"id": "account.whoami",
"method": "GET",
"path": "/v1/whoami",
"authentication": "bearer required",
"scope": null,
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.get
{
"id": "account.get",
"method": "GET",
"path": "/v1/account",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
keys.list
{
"id": "keys.list",
"method": "GET",
"path": "/v1/keys",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
keys.create
{
"id": "keys.create",
"method": "POST",
"path": "/v1/keys",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"agent:read",
"agent:create",
"agent:run",
"agent:stop",
"agent:retry",
"agent:delete",
"account:read",
"account:admin",
"finance:read",
"finance:sync",
"finance:connection",
"brain:read",
"brain:configure",
"brain:observe",
"brain:approve",
"brain:ingest",
"brain:export",
"brain:erase",
"connections:read",
"connections:configure",
"capabilities:read",
"domains:read",
"domains:purchase",
"foundry:read",
"foundry:refresh",
"billing:read",
"billing:fund",
"billing:admin",
"launch:read",
"launch:run",
"launch:decide",
"loops:read",
"loops:create",
"loops:mandate",
"browser:read",
"browser:use",
"browser:profiles",
"account:provision",
"registry:review",
"eval:read",
"eval:write",
"eval:decide",
"order:approve",
"suppliers:deliver",
"improve:contribute",
"contacts:read",
"contacts:write",
"channels:read",
"channels:configure",
"channels:send",
"uploads:read",
"uploads:write",
"uploads:erase",
"foundry:write",
"foundry:review",
"foundry:work",
"foundry:decide",
"foundry:configure",
"foundry:admit",
"platform:analyse",
"outcomes:read",
"outcomes:record",
"people:self",
"people:decide",
"telemetry:configure",
"marketing:read",
"marketing:act"
]
},
"maxItems": 67,
"uniqueItems": true
},
"preset": {
"type": "string",
"enum": [
"read",
"read-only",
"operate",
"spend",
"root"
]
},
"expiresAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [
"name"
],
"additionalProperties": false,
"not": {
"required": [
"scopes",
"preset"
]
}
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
keys.revoke
{
"id": "keys.revoke",
"method": "POST",
"path": "/v1/keys/{keyId}/revoke",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"keyId": {
"type": "string",
"pattern": "^[a-z2-7]{8}$"
}
},
"required": [
"keyId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.dashboard.get
{
"id": "foundry.dashboard.get",
"method": "GET",
"path": "/v1/data",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.dashboard.refresh
{
"id": "foundry.dashboard.refresh",
"method": "POST",
"path": "/v1/refresh",
"authentication": "bearer required",
"scope": "foundry:refresh",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.reviews.create
{
"id": "foundry.reviews.create",
"method": "POST",
"path": "/v1/foundry/reviews",
"authentication": "bearer required",
"scope": "foundry:review",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
},
"base": {
"type": "string",
"pattern": "^[a-f0-9]{7,40}$"
},
"head": {
"type": "string",
"pattern": "^[a-f0-9]{7,40}$"
},
"gate": {
"type": "string",
"enum": [
"gate-a",
"gate-b"
]
},
"tier": {
"type": "string",
"enum": [
"T0",
"T1",
"T2",
"T3",
"auto"
]
},
"configVersion": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"files": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"maxItems": 5000
},
"labels": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 500
},
"workKind": {
"type": "string",
"enum": [
"code"
]
},
"reviewRound": {
"type": "string",
"enum": [
"full",
"targeted"
]
},
"changeId": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"pullRequest": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"blockerIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"maxItems": 32
},
"businessGoal": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"existingPattern": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"minimumDiff": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"exclusions": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"verifyEvidence": {
"type": "string",
"minLength": 1,
"maxLength": 4000
},
"diff": {
"type": "string",
"maxLength": 99983616
},
"plan": {
"type": "string",
"maxLength": 99983616
},
"fileCapBytes": {
"type": "integer",
"minimum": 1024,
"maximum": 262144
},
"referenceFullRound": {
"type": "integer",
"minimum": 1,
"maximum": 99
},
"authorization": {
"type": "object",
"properties": {
"by": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"at": {
"type": "string",
"format": "date-time"
},
"round": {
"type": "integer",
"minimum": 1,
"maximum": 999
},
"ordinal": {
"type": "integer",
"minimum": 1,
"maximum": 999
}
},
"required": [
"by",
"reason",
"at",
"round"
],
"additionalProperties": false
},
"summary": {
"type": "object",
"properties": {
"ticket": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Z][A-Z0-9]{0,9}-[0-9]+$"
},
"url": {
"type": "string",
"pattern": "^https?://\\S+$",
"maxLength": 2000
},
"title": {
"type": "string",
"maxLength": 500
}
},
"required": [
"key",
"url"
],
"additionalProperties": false
},
"checks": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"conclusion": {
"type": "string",
"maxLength": 60
},
"required": {
"type": "boolean"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 200
}
},
"required": [
"items"
],
"additionalProperties": false
},
"deploy": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"verified",
"not-applicable"
]
},
"environment": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"why": {
"type": "string",
"maxLength": 2000
},
"commitSha": {
"type": "string",
"pattern": "^[a-f0-9]{7,40}$"
},
"sourceRef": {
"type": "string",
"maxLength": 2000
},
"confirmedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"status",
"environment"
],
"additionalProperties": false
},
"media": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"attached",
"none",
"unavailable"
]
},
"why": {
"type": "string",
"maxLength": 2000
},
"dependency": {
"type": "string",
"maxLength": 2000
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"kind": {
"type": "string",
"enum": [
"screenshot",
"recording",
"log",
"manifest"
]
},
"text": {
"type": "string",
"maxLength": 65536
}
},
"required": [
"path",
"kind"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"status"
],
"additionalProperties": false
},
"visible": {
"type": "boolean"
},
"flow": {
"type": "string",
"maxLength": 500
},
"reviewRequired": {
"type": "boolean"
}
},
"required": [
"ticket",
"checks",
"deploy",
"media"
],
"additionalProperties": false
},
"drill": {
"type": "boolean"
},
"resolutions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$",
"maxLength": 160
},
"note": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"id",
"note"
],
"additionalProperties": false
},
"maxItems": 512
},
"patchId": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
"touchedPaths": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"maxItems": 5000
},
"mainChangedPaths": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"maxItems": 5000
},
"carry": {
"type": "boolean"
}
},
"required": [
"repository",
"base",
"head",
"gate",
"tier"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.reviews.get
{
"id": "foundry.reviews.get",
"method": "GET",
"path": "/v1/foundry/reviews/{reviewId}",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"reviewId": {
"type": "string",
"pattern": "^review-[A-Za-z0-9_-]{8,200}$"
}
},
"required": [
"reviewId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
finance.summary.get
{
"id": "finance.summary.get",
"method": "GET",
"path": "/v1/finance",
"authentication": "bearer required",
"scope": "finance:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
finance.status.get
{
"id": "finance.status.get",
"method": "GET",
"path": "/v1/finance/status",
"authentication": "bearer required",
"scope": "finance:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
finance.quickbooks.status
{
"id": "finance.quickbooks.status",
"method": "GET",
"path": "/v1/finance/quickbooks/status",
"authentication": "bearer required",
"scope": "finance:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
connections.references.list
{
"id": "connections.references.list",
"method": "GET",
"path": "/v1/connections",
"authentication": "bearer required",
"scope": "finance:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
finance.sync.start
{
"id": "finance.sync.start",
"method": "POST",
"path": "/v1/finance/sync",
"authentication": "bearer required",
"scope": "finance:sync",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
finance.quickbooks.profit
{
"id": "finance.quickbooks.profit",
"method": "GET",
"path": "/v1/finance/quickbooks/profit",
"authentication": "bearer required",
"scope": "finance:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"period": {
"type": "string",
"enum": [
"last",
"mtd"
]
}
},
"required": [],
"additionalProperties": false
}
}
keys.mandate.get
{
"id": "keys.mandate.get",
"method": "GET",
"path": "/v1/keys/{keyId}/mandate",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"keyId": {
"type": "string",
"pattern": "^[a-z2-7]{8}$"
}
},
"required": [
"keyId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
keys.mandate.set
{
"id": "keys.mandate.set",
"method": "POST",
"path": "/v1/keys/{keyId}/mandate",
"authentication": "bearer required",
"scope": "billing:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"usagePerRunMicroUsd": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"usagePerDayMicroUsd": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"usagePerMonthMicroUsd": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740990
}
},
"required": [
"usagePerRunMicroUsd",
"usagePerDayMicroUsd",
"usagePerMonthMicroUsd",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"keyId": {
"type": "string",
"pattern": "^[a-z2-7]{8}$"
}
},
"required": [
"keyId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
budgets.get
{
"id": "budgets.get",
"method": "GET",
"path": "/v1/budgets",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
budgets.set
{
"id": "budgets.set",
"method": "POST",
"path": "/v1/budgets",
"authentication": "bearer required",
"scope": "billing:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"usagePerMonthMicroUsd": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740990
}
},
"required": [
"usagePerMonthMicroUsd",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
balance.get
{
"id": "balance.get",
"method": "GET",
"path": "/v1/balance",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
balance.entries.list
{
"id": "balance.entries.list",
"method": "GET",
"path": "/v1/balance/entries",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"before": {
"type": "string",
"maxLength": 256
}
},
"required": [],
"additionalProperties": false
}
}
credits.topups.create
{
"id": "credits.topups.create",
"method": "POST",
"path": "/v1/credits/topups",
"authentication": "bearer required",
"scope": "billing:fund",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"amountUsd": {
"type": "string",
"pattern": "^(?:0|[1-9][0-9]{0,11})(?:\\.[0-9]{1,2})?$"
},
"method": {
"type": "string",
"enum": [
"link",
"challenge"
]
}
},
"required": [
"amountUsd",
"method"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
credits.topups.get
{
"id": "credits.topups.get",
"method": "GET",
"path": "/v1/credits/topups/{id}",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
handoffs.list
{
"id": "handoffs.list",
"method": "GET",
"path": "/v1/handoffs",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
handoffs.get
{
"id": "handoffs.get",
"method": "GET",
"path": "/v1/handoffs/{id}",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
handoffs.cancel
{
"id": "handoffs.cancel",
"method": "POST",
"path": "/v1/handoffs/{id}/cancel",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.get
{
"id": "brain.get",
"method": "GET",
"path": "/v1/brain",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.save
{
"id": "brain.save",
"method": "POST",
"path": "/v1/brain",
"authentication": "bearer required",
"scope": "brain:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"setting": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"none",
"context"
]
},
"text": {
"type": "string",
"maxLength": 12288
},
"title": {
"type": "string",
"maxLength": 128
},
"source": {
"type": "string",
"maxLength": 256
},
"observedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"text",
"title",
"source",
"observedAt"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"kind": {
"const": "none"
}
}
},
"then": {
"properties": {
"text": {
"const": ""
},
"title": {
"const": ""
},
"source": {
"const": ""
},
"observedAt": {
"const": null
}
}
},
"else": {
"properties": {
"text": {
"pattern": "\\S"
}
}
}
}
],
"x-runtime-constraints": [
"UTF-8 bytes text<=12288/title<=128/source<=256; observedAt is canonical Date.toISOString() or null."
]
}
},
"required": [
"expectedVersion",
"setting"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.health
{
"id": "brain.health",
"method": "GET",
"path": "/v1/brain/health",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.records.list
{
"id": "brain.records.list",
"method": "GET",
"path": "/v1/brain/records",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"in": {
"type": "string",
"enum": [
"records",
"documents"
]
},
"kind": {
"type": "string",
"enum": [
"decision",
"policy",
"fact",
"claim",
"commitment",
"lesson",
"preference",
"metric",
"result",
"profile",
"file",
"summary"
]
},
"status": {
"type": "string",
"enum": [
"tentative",
"observed",
"confirmed",
"disputed",
"superseded",
"retracted"
]
},
"source": {
"type": "string",
"pattern": "^SRC-[0-9]{4}$"
},
"cursor": {
"type": "string",
"maxLength": 256
},
"limit": {
"type": "string",
"pattern": "^[1-9][0-9]{0,2}$"
},
"history": {
"type": "string",
"enum": [
"true",
"false"
]
}
},
"required": [],
"additionalProperties": false
}
}
brain.records.write
{
"id": "brain.records.write",
"method": "POST",
"path": "/v1/brain/records",
"authentication": "bearer required",
"scope": "brain:observe",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"decision",
"policy",
"fact",
"claim",
"commitment",
"lesson",
"preference",
"metric",
"result",
"profile",
"file",
"summary"
]
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"body": {
"type": "string",
"maxLength": 8192
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"eid": {
"type": "string",
"maxLength": 64
},
"quote": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"range_start": {
"type": "integer",
"minimum": 0
},
"range_end": {
"type": "integer",
"minimum": 0
}
},
"required": [
"eid",
"quote"
],
"additionalProperties": false
},
"maxItems": 20
},
"status": {
"type": "string",
"enum": [
"tentative",
"observed",
"confirmed",
"disputed",
"superseded",
"retracted"
]
},
"supersedes": {
"type": "string",
"pattern": "^[A-Z]{3}-[0-9]{4,}$"
},
"confirm": {
"type": "string",
"pattern": "^[A-Z]{3}-[0-9]{4,}$"
},
"reason": {
"type": "string",
"maxLength": 1000
},
"terms": {
"type": "string",
"maxLength": 500
},
"entity_kind": {
"type": "string",
"enum": [
"offer",
"product",
"customer",
"person",
"competitor",
"asset",
"experiment",
"goal"
]
},
"about": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 8
},
"measure": {
"type": "object",
"properties": {
"metric": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"unit": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"period": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
}
},
"required": [
"metric"
],
"additionalProperties": false
},
"dueAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"uses": {
"type": "string",
"enum": [
"internal",
"public"
]
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.records.retract
{
"id": "brain.records.retract",
"method": "POST",
"path": "/v1/brain/records/{id}/retraction",
"authentication": "bearer required",
"scope": "brain:approve",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
},
"required": [
"reason"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Z]{3}-[0-9]{4,}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.read
{
"id": "brain.read",
"method": "POST",
"path": "/v1/brain/read",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Z]{2,4}-[0-9]{4,}(?:\\.[0-9]+)?$"
},
"max_chars": {
"type": "integer",
"minimum": 1,
"maximum": 20000
},
"history": {
"type": "boolean"
},
"evidence": {
"type": "boolean"
},
"as_of": {
"type": "string",
"format": "date-time"
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.brief
{
"id": "brain.brief",
"method": "POST",
"path": "/v1/brain/brief",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"ask": {
"type": "string",
"maxLength": 2000
},
"task": {
"type": "string",
"maxLength": 300
},
"role": {
"type": "string",
"enum": [
"plan",
"work",
"merge"
]
},
"max_chars": {
"type": "integer",
"minimum": 1,
"maximum": 24000
},
"stable_chars": {
"type": "integer",
"minimum": 0,
"maximum": 7000
},
"agent": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"team": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"person": {
"type": "string",
"pattern": "^[a-z0-9-]{2,64}$"
},
"since": {
"type": "string",
"pattern": "^[0-9]{1,12}\\.[0-9]{1,12}$"
},
"entities": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 8
},
"uses": {
"type": "string",
"enum": [
"internal",
"public"
]
},
"explain": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.entities.list
{
"id": "brain.entities.list",
"method": "GET",
"path": "/v1/brain/entities",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"offer",
"product",
"customer",
"person",
"competitor",
"asset",
"experiment",
"goal"
]
}
},
"required": [],
"additionalProperties": false
}
}
brain.search
{
"id": "brain.search",
"method": "POST",
"path": "/v1/brain/search",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"include_history": {
"type": "boolean"
},
"kinds": {
"type": "array",
"items": {
"type": "string",
"enum": [
"decision",
"policy",
"fact",
"claim",
"commitment",
"lesson",
"preference",
"metric",
"result",
"profile",
"file",
"summary"
]
},
"maxItems": 12
},
"uses": {
"type": "string",
"enum": [
"internal",
"public"
]
},
"entity": {
"type": "string",
"maxLength": 120
},
"since": {
"type": "string",
"format": "date-time"
},
"until": {
"type": "string",
"format": "date-time"
},
"in": {
"type": "string",
"enum": [
"all",
"records",
"passages"
]
},
"source": {
"type": "string",
"maxLength": 40
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.sources.list
{
"id": "brain.sources.list",
"method": "GET",
"path": "/v1/brain/sources",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.sources.save
{
"id": "brain.sources.save",
"method": "POST",
"path": "/v1/brain/sources",
"authentication": "bearer required",
"scope": "brain:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^SRC-[0-9]{4}$"
},
"kind": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,23}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"mode": {
"type": "string",
"enum": [
"mirror",
"feed"
]
},
"trust": {
"type": "string",
"enum": [
"owner",
"member",
"agent",
"external",
"system"
]
},
"audience": {
"type": "string",
"enum": [
"company",
"team",
"owner"
]
},
"audience_team": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"uses": {
"type": "array",
"items": {
"type": "string",
"enum": [
"internal",
"public"
]
},
"minItems": 1,
"uniqueItems": true
},
"start_status": {
"type": "string",
"enum": [
"tentative",
"observed",
"confirmed"
]
},
"places": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 200
},
"skip_rules": {
"type": "string",
"maxLength": 2000
},
"retention_days": {
"type": "integer",
"minimum": 0,
"maximum": 3650
},
"carries_files": {
"type": "boolean"
},
"connection_id": {
"type": "string",
"maxLength": 64
},
"state": {
"type": "string",
"enum": [
"active",
"paused"
]
}
},
"required": [
"name"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.sources.remove
{
"id": "brain.sources.remove",
"method": "POST",
"path": "/v1/brain/sources/{source}/removal",
"authentication": "bearer required",
"scope": "brain:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"maxLength": 500
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"source": {
"type": "string",
"pattern": "^SRC-[0-9]{4}$"
}
},
"required": [
"source"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.items.push
{
"id": "brain.items.push",
"method": "POST",
"path": "/v1/brain/sources/{source}/items",
"authentication": "bearer required",
"scope": "brain:ingest",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"load": {
"type": "string",
"pattern": "^LOD-[0-9]{4}$"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"kind": {
"type": "string",
"enum": [
"document",
"transcript",
"message",
"typed"
]
},
"title": {
"type": "string",
"maxLength": 300
},
"text": {
"type": "string",
"maxLength": 2097152
},
"upload": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"at": {
"type": "string",
"format": "date-time"
},
"author": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 200
},
"ref": {
"type": "string",
"maxLength": 200
},
"own": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
},
"audience": {
"type": "string",
"enum": [
"company",
"team",
"owner"
]
},
"audience_team": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"uses": {
"type": "array",
"items": {
"type": "string",
"enum": [
"internal",
"public"
]
},
"minItems": 1,
"uniqueItems": true
},
"links": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 50
},
"terms": {
"type": "string",
"maxLength": 1000
},
"typed": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"decision",
"policy",
"fact",
"commitment",
"lesson",
"metric",
"result",
"profile",
"role"
]
},
"fields": {
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 300
},
"body": {
"type": "string",
"maxLength": 8192
},
"name": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"replaces": {
"type": "string",
"maxLength": 64
}
},
"required": [
"key"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 100
}
},
"required": [
"items"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"source": {
"type": "string",
"pattern": "^SRC-[0-9]{4}$"
}
},
"required": [
"source"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.items.withdraw
{
"id": "brain.items.withdraw",
"method": "POST",
"path": "/v1/brain/sources/{source}/withdrawals",
"authentication": "bearer required",
"scope": "brain:ingest",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"keys": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"minItems": 1,
"maxItems": 100
},
"reason": {
"type": "string",
"maxLength": 500
}
},
"required": [
"keys"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"source": {
"type": "string",
"pattern": "^SRC-[0-9]{4}$"
}
},
"required": [
"source"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.loads.create
{
"id": "brain.loads.create",
"method": "POST",
"path": "/v1/brain/sources/{source}/loads",
"authentication": "bearer required",
"scope": "brain:ingest",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"dry_run": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"source": {
"type": "string",
"pattern": "^SRC-[0-9]{4}$"
}
},
"required": [
"source"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.loads.finish
{
"id": "brain.loads.finish",
"method": "POST",
"path": "/v1/brain/loads/{id}/finish",
"authentication": "bearer required",
"scope": "brain:ingest",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"complete": {
"type": "boolean"
},
"confirm": {
"type": "boolean"
},
"keep": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^LOD-[0-9]{4}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.loads.get
{
"id": "brain.loads.get",
"method": "GET",
"path": "/v1/brain/loads/{id}",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^LOD-[0-9]{4}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.files.list
{
"id": "brain.files.list",
"method": "GET",
"path": "/v1/brain/files",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.files.get
{
"id": "brain.files.get",
"method": "GET",
"path": "/v1/brain/files/{path}",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"path": {
"type": "string",
"pattern": "^[A-Za-z0-9%._~-]+$",
"maxLength": 200
}
},
"required": [
"path"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"as_of": {
"type": "string",
"format": "date-time"
},
"history": {
"type": "string",
"enum": [
"true",
"false"
]
},
"tokens": {
"type": "string",
"enum": [
"true",
"false"
]
}
},
"required": [],
"additionalProperties": false
}
}
brain.files.put
{
"id": "brain.files.put",
"method": "POST",
"path": "/v1/brain/files/{path}",
"authentication": "bearer required",
"scope": "brain:observe",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 200000
},
"base": {
"type": "integer",
"minimum": 1
},
"reason": {
"type": "string",
"maxLength": 500
}
},
"required": [
"text"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"path": {
"type": "string",
"pattern": "^[A-Za-z0-9%._~-]+$",
"maxLength": 200
}
},
"required": [
"path"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.files.remove
{
"id": "brain.files.remove",
"method": "POST",
"path": "/v1/brain/files/{path}/removal",
"authentication": "bearer required",
"scope": "brain:approve",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"maxLength": 500
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"path": {
"type": "string",
"pattern": "^[A-Za-z0-9%._~-]+$",
"maxLength": 200
}
},
"required": [
"path"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.audit.list
{
"id": "brain.audit.list",
"method": "GET",
"path": "/v1/brain/audit",
"authentication": "bearer required",
"scope": "brain:configure",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"before": {
"type": "string",
"format": "date-time"
},
"limit": {
"type": "string",
"pattern": "^[1-9][0-9]{0,2}$"
}
},
"required": [],
"additionalProperties": false
}
}
brain.exports.create
{
"id": "brain.exports.create",
"method": "POST",
"path": "/v1/brain/exports",
"authentication": "bearer required",
"scope": "brain:export",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.exports.get
{
"id": "brain.exports.get",
"method": "GET",
"path": "/v1/brain/exports/{id}",
"authentication": "bearer required",
"scope": "brain:export",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^EXP-[0-9]{4}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.exports.part
{
"id": "brain.exports.part",
"method": "GET",
"path": "/v1/brain/exports/{id}/parts/{n}",
"authentication": "bearer required",
"scope": "brain:export",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^EXP-[0-9]{4}$"
},
"n": {
"type": "string",
"pattern": "^[1-9][0-9]{0,2}$"
}
},
"required": [
"id",
"n"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.erasures.create
{
"id": "brain.erasures.create",
"method": "POST",
"path": "/v1/brain/erasures",
"authentication": "bearer required",
"scope": "brain:erase",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"what": {
"type": "string",
"enum": [
"evidence",
"source_item",
"source",
"person",
"brain"
]
},
"id": {
"type": "string",
"maxLength": 200
},
"reason": {
"type": "string",
"maxLength": 500
}
},
"required": [
"what",
"id"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.erasures.get
{
"id": "brain.erasures.get",
"method": "GET",
"path": "/v1/brain/erasures/{id}",
"authentication": "bearer required",
"scope": "brain:erase",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^ERA-[0-9]{4}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.librarian.proposals.list
{
"id": "brain.librarian.proposals.list",
"method": "GET",
"path": "/v1/brain/librarian/proposals",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"open",
"approved",
"rejected",
"expired"
]
},
"kind": {
"type": "string",
"enum": [
"decision",
"policy",
"fact",
"claim",
"commitment",
"lesson",
"preference",
"metric",
"result",
"profile",
"file",
"summary"
]
},
"limit": {
"type": "string",
"pattern": "^[1-9][0-9]?$"
},
"id": {
"type": "string",
"pattern": "^PRP-[0-9]{4,}$"
}
},
"required": [],
"additionalProperties": false
}
}
brain.librarian.proposals.decide
{
"id": "brain.librarian.proposals.decide",
"method": "POST",
"path": "/v1/brain/librarian/proposals/{id}/decision",
"authentication": "bearer required",
"scope": "brain:approve",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"decision": {
"type": "string",
"enum": [
"approve",
"reject"
]
},
"reason": {
"type": "string",
"maxLength": 1000
}
},
"required": [
"decision"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^PRP-[0-9]{4,}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.librarian.status
{
"id": "brain.librarian.status",
"method": "GET",
"path": "/v1/brain/librarian",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.librarian.run
{
"id": "brain.librarian.run",
"method": "POST",
"path": "/v1/brain/librarian/run",
"authentication": "bearer required",
"scope": "brain:observe",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"minLength": 3,
"maxLength": 201,
"pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,99}/[A-Za-z0-9_.-]{1,100}$"
},
"commit": {
"type": "string",
"pattern": "^[0-9a-f]{40}$"
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"text": {
"type": "string",
"maxLength": 4000
}
},
"required": [
"path",
"text"
],
"additionalProperties": false
},
"maxItems": 12
},
"manifest": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 500
},
"at": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
},
"dailyBudgetUsd": {
"type": "number",
"minimum": 0,
"maximum": 50
}
},
"required": [
"repository",
"commit",
"files"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
connections.catalog.get
{
"id": "connections.catalog.get",
"method": "GET",
"path": "/v1/connections/catalog",
"authentication": "bearer required",
"scope": "connections:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"category": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^[a-z0-9&+ -]{1,40}$"
},
"filter": {
"type": "string",
"enum": [
"all",
"featured",
"connected"
]
}
},
"required": [],
"additionalProperties": false
}
}
connections.settings.save
{
"id": "connections.settings.save",
"method": "POST",
"path": "/v1/connections/settings",
"authentication": "bearer required",
"scope": "connections:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"enum": [
"web-search",
"web-scrape",
"domains"
]
},
"enabled": {
"type": "boolean"
},
"policy": {
"const": "read-only"
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"enabled",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
domains.check
{
"id": "domains.check",
"method": "POST",
"path": "/v1/domains/check",
"authentication": "bearer required",
"scope": "domains:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"names": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80
},
"minItems": 1,
"maxItems": 10
}
},
"required": [
"names"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
domains.orders.list
{
"id": "domains.orders.list",
"method": "GET",
"path": "/v1/domains/orders",
"authentication": "bearer required",
"scope": "domains:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
domains.orders.get
{
"id": "domains.orders.get",
"method": "GET",
"path": "/v1/domains/orders/{id}",
"authentication": "bearer required",
"scope": "domains:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
domains.orders.quote
{
"id": "domains.orders.quote",
"method": "POST",
"path": "/v1/domains/orders",
"authentication": "bearer required",
"scope": "domains:purchase",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"maxLength": 80
},
"years": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"sourceRun": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"domain"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
domains.orders.approve
{
"id": "domains.orders.approve",
"method": "POST",
"path": "/v1/domains/orders/{id}/approve",
"authentication": "bearer required",
"scope": "domains:purchase",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"maxLength": 80
},
"years": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"priceMicroUsd": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"domain",
"years",
"priceMicroUsd"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
domains.orders.decline
{
"id": "domains.orders.decline",
"method": "POST",
"path": "/v1/domains/orders/{id}/decline",
"authentication": "bearer required",
"scope": "domains:purchase",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
domains.orders.advance
{
"id": "domains.orders.advance",
"method": "POST",
"path": "/v1/domains/orders/{id}/advance",
"authentication": "bearer required",
"scope": "domains:purchase",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
domains.site.get
{
"id": "domains.site.get",
"method": "GET",
"path": "/v1/domains/orders/{id}/site",
"authentication": "bearer required",
"scope": "domains:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
domains.site.draft
{
"id": "domains.site.draft",
"method": "POST",
"path": "/v1/domains/orders/{id}/site/draft",
"authentication": "bearer required",
"scope": "domains:purchase",
"effect": "write",
"idempotency": "optional",
"input": {
"oneOf": [
{
"type": "object",
"properties": {
"assets": {
"type": "object",
"minProperties": 1,
"maxProperties": 40,
"required": [
"/index.html"
],
"patternProperties": {
"^/[a-zA-Z0-9_/-]+\\.(html|css|js|svg|txt|json)$": {
"type": "string"
}
},
"additionalProperties": false
}
},
"required": [
"assets"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"sourceRun": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"sourceRun"
],
"additionalProperties": false
}
]
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
domains.site.preview
{
"id": "domains.site.preview",
"method": "POST",
"path": "/v1/domains/orders/{id}/site/preview",
"authentication": "bearer required",
"scope": "domains:purchase",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"revisionId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"revisionId"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
domains.site.publish
{
"id": "domains.site.publish",
"method": "POST",
"path": "/v1/domains/orders/{id}/site/publish",
"authentication": "bearer required",
"scope": "domains:purchase",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"revisionId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"revisionId",
"hash",
"version"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.health.get
{
"id": "agentos.health.get",
"method": "GET",
"path": "/v1/agentos/health",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.overview.get
{
"id": "agentos.overview.get",
"method": "GET",
"path": "/v1/agentos/overview",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.launches.list
{
"id": "agentos.launches.list",
"method": "GET",
"path": "/v1/agentos/launches",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"before": {
"type": "string",
"maxLength": 256
}
},
"required": [],
"additionalProperties": false
}
}
agentos.models.list
{
"id": "agentos.models.list",
"method": "GET",
"path": "/v1/agentos/models",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.recipes.list
{
"id": "agentos.recipes.list",
"method": "GET",
"path": "/v1/agentos/recipes",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.launches.create
{
"id": "agentos.launches.create",
"method": "POST",
"path": "/v1/agentos/launches",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"ask": {
"type": "string",
"minLength": 1,
"maxLength": 8000,
"pattern": "\\S"
},
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
},
"tier": {
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"agents": {
"type": "integer",
"enum": [
1,
3
]
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f\\\\/]+$"
},
"text": {
"type": "string"
}
},
"required": [
"name",
"text"
],
"additionalProperties": false
},
"maxItems": 10
},
"council": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"independent",
"planned"
]
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[^\\x00-\\x1f]*$"
}
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"tools": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workspace_write",
"workspace_read",
"workspace_edit",
"workspace_grep",
"github_read",
"librarian_pass",
"web_search",
"web_fetch",
"web_scrape",
"domain_check"
]
},
"uniqueItems": true
}
},
"required": [
"model"
],
"additionalProperties": false
},
"minItems": 2,
"maxItems": 8
},
"synthesizer": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
}
},
"required": [
"members",
"synthesizer"
],
"additionalProperties": false
},
"browser": {
"type": "object",
"properties": {
"profile": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"domains": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9.-]{0,252}$"
},
"minItems": 1,
"maxItems": 20
},
"mode": {
"type": "string",
"enum": [
"act",
"read"
]
}
},
"required": [
"profile"
],
"additionalProperties": false
},
"goal": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"stop": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S"
},
"rounds": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"workers": {
"type": "integer",
"minimum": 1,
"maximum": 3
}
},
"required": [
"key",
"stop"
],
"additionalProperties": false
},
"recipe": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"ask"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"not": {
"required": [
"recipe"
]
}
},
"then": {
"required": [
"target"
]
}
}
],
"not": {
"required": [
"council",
"agents"
],
"properties": {
"agents": {
"const": 3
}
}
},
"x-runtime-constraints": [
"Attachment names unique; UTF-8 text <=131072 bytes each and <=262144 total; no NUL. Recipe applied before runtime launch validation. Council budgets/models/tools validated by AgentOS. A goal takes one attachment slot, is refused with agents 3, a council or a repo target, and has at most ten seats: rounds*(1+workers)+1."
]
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.launches.get
{
"id": "agentos.launches.get",
"method": "GET",
"path": "/v1/agentos/launches/{id}",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.launches.delete
{
"id": "agentos.launches.delete",
"method": "DELETE",
"path": "/v1/agentos/launches/{id}",
"authentication": "bearer required",
"scope": "agent:delete",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.launches.reply
{
"id": "agentos.launches.reply",
"method": "POST",
"path": "/v1/agentos/launches/{id}/reply",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"ask": {
"type": "string",
"minLength": 1,
"maxLength": 8000,
"pattern": "\\S"
},
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
},
"tier": {
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"agents": {
"type": "integer",
"enum": [
1,
3
]
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f\\\\/]+$"
},
"text": {
"type": "string"
}
},
"required": [
"name",
"text"
],
"additionalProperties": false
},
"maxItems": 10
},
"council": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"independent",
"planned"
]
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[^\\x00-\\x1f]*$"
}
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"tools": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workspace_write",
"workspace_read",
"workspace_edit",
"workspace_grep",
"github_read",
"librarian_pass",
"web_search",
"web_fetch",
"web_scrape",
"domain_check"
]
},
"uniqueItems": true
}
},
"required": [
"model"
],
"additionalProperties": false
},
"minItems": 2,
"maxItems": 8
},
"synthesizer": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
}
},
"required": [
"members",
"synthesizer"
],
"additionalProperties": false
}
},
"required": [
"ask",
"target"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.launches.retry
{
"id": "agentos.launches.retry",
"method": "POST",
"path": "/v1/agentos/launches/{id}/retry",
"authentication": "bearer required",
"scope": "agent:retry",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.launches.stop
{
"id": "agentos.launches.stop",
"method": "POST",
"path": "/v1/agentos/launches/{id}/stop",
"authentication": "bearer required",
"scope": "agent:stop",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.launches.conversation
{
"id": "agentos.launches.conversation",
"method": "GET",
"path": "/v1/agentos/launches/{id}/conversation",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.launches.agent
{
"id": "agentos.launches.agent",
"method": "GET",
"path": "/v1/agentos/launches/{id}/agents/{n}",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"n": {
"type": "string",
"pattern": "^(?:[1-9]|10)$"
}
},
"required": [
"id",
"n"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"before": {
"type": "string",
"maxLength": 256
}
},
"required": [],
"additionalProperties": false
}
}
agentos.launches.file
{
"id": "agentos.launches.file",
"method": "GET",
"path": "/v1/agentos/launches/{id}/agents/{n}/files/out/{name}",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"n": {
"type": "string",
"pattern": "^(?:[1-9]|10)$"
},
"name": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,80}$"
}
},
"required": [
"id",
"n",
"name"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.launches.proposal.get
{
"id": "agentos.launches.proposal.get",
"method": "GET",
"path": "/v1/agentos/launches/{id}/proposal",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.launches.proposal.create
{
"id": "agentos.launches.proposal.create",
"method": "POST",
"path": "/v1/agentos/launches/{id}/proposal",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"approve": {
"const": true
},
"artifactHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"connectionVersion": {
"type": "string"
}
},
"required": [
"approve",
"artifactHash",
"connectionVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.models.add
{
"id": "agentos.models.add",
"method": "POST",
"path": "/v1/agentos/models",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
},
"search": {
"type": "boolean"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.models.remove
{
"id": "agentos.models.remove",
"method": "POST",
"path": "/v1/agentos/models/remove",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 160
}
},
"required": [
"id"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.recipes.save
{
"id": "agentos.recipes.save",
"method": "POST",
"path": "/v1/agentos/recipes",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "\\S"
},
"description": {
"type": "string",
"maxLength": 240
},
"instructions": {
"type": "string",
"maxLength": 2000
},
"launch": {
"type": "object",
"properties": {
"tier": {
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"agents": {
"type": "integer",
"enum": [
1,
3
]
},
"council": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"independent",
"planned"
]
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[^\\x00-\\x1f]*$"
}
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"tools": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workspace_write",
"workspace_read",
"workspace_edit",
"workspace_grep",
"github_read",
"librarian_pass",
"web_search",
"web_fetch",
"web_scrape",
"domain_check"
]
},
"uniqueItems": true
}
},
"required": [
"model"
],
"additionalProperties": false
},
"minItems": 2,
"maxItems": 8
},
"synthesizer": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
}
},
"required": [
"members",
"synthesizer"
],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"name"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.recipes.remove
{
"id": "agentos.recipes.remove",
"method": "POST",
"path": "/v1/agentos/recipes/remove",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 160
}
},
"required": [
"id"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.github.get
{
"id": "agentos.github.get",
"method": "GET",
"path": "/v1/agentos/connections/github",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.github.configure
{
"id": "agentos.github.configure",
"method": "POST",
"path": "/v1/agentos/connections/github",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"oneOf": [
{
"type": "object",
"properties": {
"token": {
"type": "string",
"pattern": "^github_pat_[A-Za-z0-9_]{20,240}$",
"writeOnly": true
}
},
"required": [
"token"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"allowed": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 30
}
},
"required": [
"allowed"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"disconnect": {
"const": true
}
},
"required": [
"disconnect"
],
"additionalProperties": false
}
]
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.connectors.builtin
{
"id": "agentos.connectors.builtin",
"method": "GET",
"path": "/v1/agentos/connections/builtin",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
members.list
{
"id": "members.list",
"method": "GET",
"path": "/v1/members",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"view": {
"type": "string",
"enum": [
"active",
"pending"
]
},
"cursor": {
"type": "string",
"pattern": "^[0-9]{1,20}:[a-f0-9-]{36}$"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [],
"additionalProperties": false
}
}
members.invite
{
"id": "members.invite",
"method": "POST",
"path": "/v1/membership/invitations",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"email": {
"type": "string",
"maxLength": 254
},
"role": {
"type": "string",
"enum": [
"owner",
"admin",
"member"
]
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"agent:read",
"agent:create",
"agent:run",
"agent:stop",
"agent:retry",
"agent:delete",
"account:read",
"account:admin",
"finance:read",
"finance:sync",
"finance:connection",
"brain:read",
"brain:configure",
"brain:observe",
"brain:approve",
"brain:ingest",
"brain:export",
"brain:erase",
"connections:read",
"connections:configure",
"capabilities:read",
"domains:read",
"domains:purchase",
"foundry:read",
"foundry:refresh",
"billing:read",
"billing:fund",
"billing:admin",
"launch:read",
"launch:run",
"launch:decide",
"loops:read",
"loops:create",
"loops:mandate",
"browser:read",
"browser:use",
"browser:profiles",
"account:provision",
"registry:review",
"eval:read",
"eval:write",
"eval:decide",
"order:approve",
"suppliers:deliver",
"improve:contribute",
"contacts:read",
"contacts:write",
"channels:read",
"channels:configure",
"channels:send",
"uploads:read",
"uploads:write",
"uploads:erase",
"foundry:write",
"foundry:review",
"foundry:work",
"foundry:decide",
"foundry:configure",
"foundry:admit",
"platform:analyse",
"outcomes:read",
"outcomes:record",
"people:self",
"people:decide",
"telemetry:configure",
"marketing:read",
"marketing:act"
]
},
"maxItems": 67,
"uniqueItems": true
},
"teams": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"maxItems": 16,
"uniqueItems": true
},
"delivery": {
"type": "string",
"enum": [
"email",
"manual"
]
}
},
"required": [
"email"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
members.update
{
"id": "members.update",
"method": "POST",
"path": "/v1/members/{id}",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"owner",
"admin",
"member"
]
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"agent:read",
"agent:create",
"agent:run",
"agent:stop",
"agent:retry",
"agent:delete",
"account:read",
"account:admin",
"finance:read",
"finance:sync",
"finance:connection",
"brain:read",
"brain:configure",
"brain:observe",
"brain:approve",
"brain:ingest",
"brain:export",
"brain:erase",
"connections:read",
"connections:configure",
"capabilities:read",
"domains:read",
"domains:purchase",
"foundry:read",
"foundry:refresh",
"billing:read",
"billing:fund",
"billing:admin",
"launch:read",
"launch:run",
"launch:decide",
"loops:read",
"loops:create",
"loops:mandate",
"browser:read",
"browser:use",
"browser:profiles",
"account:provision",
"registry:review",
"eval:read",
"eval:write",
"eval:decide",
"order:approve",
"suppliers:deliver",
"improve:contribute",
"contacts:read",
"contacts:write",
"channels:read",
"channels:configure",
"channels:send",
"uploads:read",
"uploads:write",
"uploads:erase",
"foundry:write",
"foundry:review",
"foundry:work",
"foundry:decide",
"foundry:configure",
"foundry:admit",
"platform:analyse",
"outcomes:read",
"outcomes:record",
"people:self",
"people:decide",
"telemetry:configure",
"marketing:read",
"marketing:act"
]
},
"maxItems": 67,
"uniqueItems": true
},
"teams": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"maxItems": 16,
"uniqueItems": true
},
"grants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"responsibility": {
"type": "string",
"enum": [
"review_brain_facts"
]
},
"expiresAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"responsibility",
"expiresAt"
],
"additionalProperties": false
},
"maxItems": 8
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"reason": {
"type": "string",
"maxLength": 200
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
members.remove
{
"id": "members.remove",
"method": "POST",
"path": "/v1/members/{id}/removal",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"reason": {
"type": "string",
"maxLength": 200
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
members.accept
{
"id": "members.accept",
"method": "POST",
"path": "/v1/membership/accept",
"authentication": "public (no bearer required)",
"scope": null,
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"token": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"email": {
"type": "string",
"maxLength": 254
},
"password": {
"type": "string",
"writeOnly": true,
"minLength": 12,
"maxLength": 1024
},
"code": {
"type": "string",
"pattern": "^[0-9]{6}$"
}
},
"required": [
"token"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.entity.prepare
{
"id": "launch.entity.prepare",
"method": "POST",
"path": "/v1/launch/entity/prepare",
"authentication": "bearer required",
"scope": "launch:run",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740990
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.entity.get
{
"id": "launch.entity.get",
"method": "GET",
"path": "/v1/launch/entity",
"authentication": "bearer required",
"scope": "launch:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.concept.import
{
"id": "launch.concept.import",
"method": "POST",
"path": "/v1/launch/concept/import",
"authentication": "bearer required",
"scope": "launch:run",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"expectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740990
}
},
"required": [
"runId",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.names.import
{
"id": "launch.names.import",
"method": "POST",
"path": "/v1/launch/names/import",
"authentication": "bearer required",
"scope": "launch:run",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"expectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740990
}
},
"required": [
"runId",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.concept.accept
{
"id": "launch.concept.accept",
"method": "POST",
"path": "/v1/launch/concept/accept",
"authentication": "bearer required",
"scope": "launch:run",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"artifactId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"expectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740990
}
},
"required": [
"artifactId",
"contentHash",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.concept.get
{
"id": "launch.concept.get",
"method": "GET",
"path": "/v1/launch/concept",
"authentication": "bearer required",
"scope": "launch:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.names.list
{
"id": "launch.names.list",
"method": "GET",
"path": "/v1/launch/names",
"authentication": "bearer required",
"scope": "launch:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.create
{
"id": "launch.create",
"method": "POST",
"path": "/v1/launch",
"authentication": "bearer required",
"scope": "launch:run",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"idea": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"pattern": "^[^\\x00-\\x1f]+$"
},
"market": {
"const": "us-wyoming"
}
},
"required": [
"idea",
"market"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.get
{
"id": "launch.get",
"method": "GET",
"path": "/v1/launch",
"authentication": "bearer required",
"scope": "launch:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.actions.list
{
"id": "launch.actions.list",
"method": "GET",
"path": "/v1/launch/actions",
"authentication": "bearer required",
"scope": "launch:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"before": {
"type": "string",
"pattern": "^[0-9]{1,16}$"
}
},
"required": [],
"additionalProperties": false
}
}
launch.audit.export
{
"id": "launch.audit.export",
"method": "GET",
"path": "/v1/launch/audit",
"authentication": "bearer required",
"scope": "launch:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.decisions.list
{
"id": "launch.decisions.list",
"method": "GET",
"path": "/v1/launch/decisions",
"authentication": "bearer required",
"scope": "launch:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.decisions.propose
{
"id": "launch.decisions.propose",
"method": "POST",
"path": "/v1/launch/decisions/{key}/propose",
"authentication": "bearer required",
"scope": "launch:run",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"value": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
{
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
{
"const": "us-wyoming"
},
{
"type": "string",
"enum": [
"LLC",
"CCorp"
]
},
{
"oneOf": [
{
"type": "object",
"properties": {
"entityType": {
"const": "LLC"
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"roles": {
"type": "array",
"items": {
"type": "string",
"enum": [
"member",
"manager",
"director",
"president",
"secretary",
"treasurer",
"shareholder"
]
},
"minItems": 1,
"maxItems": 7,
"uniqueItems": true
},
"ownershipPercent": {
"type": "string",
"pattern": "^(?:100(?:\\.0{1,6})?|[0-9]{1,2}(?:\\.[0-9]{1,6})?)$"
}
},
"required": [
"name",
"roles",
"ownershipPercent"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 20
}
},
"required": [
"entityType",
"people"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"entityType": {
"const": "CCorp"
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"roles": {
"type": "array",
"items": {
"type": "string",
"enum": [
"member",
"manager",
"director",
"president",
"secretary",
"treasurer",
"shareholder"
]
},
"minItems": 1,
"maxItems": 7,
"uniqueItems": true
},
"shares": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"name",
"roles",
"shares"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 20
},
"authorizedShares": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"entityType",
"people",
"authorizedShares"
],
"additionalProperties": false
}
]
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"ownershipPercent": {
"type": "string",
"pattern": "^(?:100(?:\\.0{1,6})?|[0-9]{1,2}(?:\\.[0-9]{1,6})?)$"
}
},
"required": [
"name",
"ownershipPercent"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 20
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"founderIndex": {
"type": "integer",
"minimum": 0,
"maximum": 19
}
},
"required": [
"name",
"founderIndex"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"ein": {
"type": "string",
"enum": [
"none",
"standard",
"expedited"
]
},
"registeredAgent": {
"type": "boolean"
}
},
"required": [
"ein",
"registeredAgent"
],
"additionalProperties": false
},
{
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"minItems": 1,
"maxItems": 3,
"uniqueItems": true
},
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"months": {
"type": "integer",
"minimum": 0,
"maximum": 120
},
"cliffMonths": {
"type": "integer",
"minimum": 0,
"maximum": 120
}
},
"required": [
"enabled",
"months",
"cliffMonths"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"election": {
"type": "string",
"enum": [
"none",
"s-corp",
"professional_review"
]
}
},
"required": [
"election"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"role": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[^\\x00-\\x1f]+$"
}
},
"required": [
"name",
"role"
],
"additionalProperties": false
}
]
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"rationale": {
"type": "string",
"maxLength": 2000
},
"sources": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[^\\x00-\\x1f]+$"
},
"maxItems": 10
}
},
"required": [
"value",
"expectedVersion",
"rationale",
"sources"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"key": {
"type": "string",
"enum": [
"legal_name",
"brand_name",
"jurisdiction",
"entity_type",
"founders",
"ownership",
"responsible_party",
"service_choices",
"name_options",
"vesting",
"tax_elections",
"designated_representative"
]
}
},
"required": [
"key"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.decisions.confirm
{
"id": "launch.decisions.confirm",
"method": "POST",
"path": "/v1/launch/decisions/{key}/confirm",
"authentication": "bearer required",
"scope": "launch:decide",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"value": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
{
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
{
"const": "us-wyoming"
},
{
"type": "string",
"enum": [
"LLC",
"CCorp"
]
},
{
"oneOf": [
{
"type": "object",
"properties": {
"entityType": {
"const": "LLC"
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"roles": {
"type": "array",
"items": {
"type": "string",
"enum": [
"member",
"manager",
"director",
"president",
"secretary",
"treasurer",
"shareholder"
]
},
"minItems": 1,
"maxItems": 7,
"uniqueItems": true
},
"ownershipPercent": {
"type": "string",
"pattern": "^(?:100(?:\\.0{1,6})?|[0-9]{1,2}(?:\\.[0-9]{1,6})?)$"
}
},
"required": [
"name",
"roles",
"ownershipPercent"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 20
}
},
"required": [
"entityType",
"people"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"entityType": {
"const": "CCorp"
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"roles": {
"type": "array",
"items": {
"type": "string",
"enum": [
"member",
"manager",
"director",
"president",
"secretary",
"treasurer",
"shareholder"
]
},
"minItems": 1,
"maxItems": 7,
"uniqueItems": true
},
"shares": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"name",
"roles",
"shares"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 20
},
"authorizedShares": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"entityType",
"people",
"authorizedShares"
],
"additionalProperties": false
}
]
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"ownershipPercent": {
"type": "string",
"pattern": "^(?:100(?:\\.0{1,6})?|[0-9]{1,2}(?:\\.[0-9]{1,6})?)$"
}
},
"required": [
"name",
"ownershipPercent"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 20
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"founderIndex": {
"type": "integer",
"minimum": 0,
"maximum": 19
}
},
"required": [
"name",
"founderIndex"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"ein": {
"type": "string",
"enum": [
"none",
"standard",
"expedited"
]
},
"registeredAgent": {
"type": "boolean"
}
},
"required": [
"ein",
"registeredAgent"
],
"additionalProperties": false
},
{
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"minItems": 1,
"maxItems": 3,
"uniqueItems": true
},
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"months": {
"type": "integer",
"minimum": 0,
"maximum": 120
},
"cliffMonths": {
"type": "integer",
"minimum": 0,
"maximum": 120
}
},
"required": [
"enabled",
"months",
"cliffMonths"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"election": {
"type": "string",
"enum": [
"none",
"s-corp",
"professional_review"
]
}
},
"required": [
"election"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f]+$"
},
"role": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[^\\x00-\\x1f]+$"
}
},
"required": [
"name",
"role"
],
"additionalProperties": false
}
]
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"value",
"version"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"key": {
"type": "string",
"enum": [
"legal_name",
"brand_name",
"jurisdiction",
"entity_type",
"founders",
"ownership",
"responsible_party",
"service_choices",
"name_options",
"vesting",
"tax_elections",
"designated_representative"
]
}
},
"required": [
"key"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.cancel
{
"id": "launch.cancel",
"method": "POST",
"path": "/v1/launch/cancel",
"authentication": "bearer required",
"scope": "launch:run",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
connections.start
{
"id": "connections.start",
"method": "POST",
"path": "/v1/connections/{connector}/start",
"authentication": "bearer required",
"scope": "connections:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"connector": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"connector"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"subject": {
"type": "string",
"pattern": "^(company|team|person|agent):[A-Za-z0-9_-]{1,64}$"
},
"teams": {
"type": "string",
"minLength": 1,
"maxLength": 220,
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,9}(,[A-Za-z][A-Za-z0-9_]{0,9})*$"
},
"write": {
"type": "string",
"const": "1"
},
"link": {
"type": "string",
"const": "1"
},
"return": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
"required": [],
"additionalProperties": false
}
}
brain.observe
{
"id": "brain.observe",
"method": "POST",
"path": "/v1/brain/observations",
"authentication": "bearer required",
"scope": "brain:observe",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[\\x21-\\x7e]+$"
},
"kind": {
"type": "string",
"enum": [
"run",
"learning",
"correction",
"decision",
"save",
"gap"
]
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"supersedes": {
"type": "string",
"pattern": "^[A-Z]{3}-[0-9]{4,}$"
},
"outside": {
"type": "boolean"
},
"provenance": {
"type": "object",
"properties": {
"tenant": {
"type": "string",
"maxLength": 40
},
"launch": {
"type": "string",
"maxLength": 200
},
"agent": {
"type": "integer",
"minimum": 0
},
"origin": {
"type": "string",
"enum": [
"ui",
"slack",
"routine",
"api"
]
},
"actor": {
"type": "string",
"maxLength": 200
},
"target": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"maxLength": 40
},
"ref": {
"type": "string",
"maxLength": 300
}
},
"required": [],
"additionalProperties": false
},
"at": {
"type": "string",
"maxLength": 40
},
"links": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500
},
"maxItems": 20
},
"context_sources": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 50
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"id",
"kind",
"text"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.proposals.list
{
"id": "brain.proposals.list",
"method": "GET",
"path": "/v1/brain/proposals",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"open",
"approved",
"rejected",
"expired",
"dropped"
]
},
"action": {
"type": "string",
"enum": [
"add",
"supersede",
"retract",
"file"
]
},
"pid": {
"type": "string",
"pattern": "^PRP-[0-9]{4,}$"
},
"cursor": {
"type": "string",
"maxLength": 80
},
"limit": {
"type": "string",
"pattern": "^[1-9][0-9]{0,2}$"
}
},
"required": [],
"additionalProperties": false
}
}
brain.proposals.create
{
"id": "brain.proposals.create",
"method": "POST",
"path": "/v1/brain/proposals",
"authentication": "bearer required",
"scope": "brain:observe",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"add",
"supersede",
"retract",
"file"
]
},
"kind": {
"type": "string",
"enum": [
"decision",
"policy",
"fact",
"claim",
"commitment",
"lesson",
"preference",
"metric",
"result",
"profile",
"file",
"summary"
]
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"body": {
"type": "string",
"maxLength": 8000
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"reason": {
"type": "string",
"maxLength": 1000
}
},
"required": [
"action"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.proposals.decide
{
"id": "brain.proposals.decide",
"method": "POST",
"path": "/v1/brain/proposals/{id}/decision",
"authentication": "bearer required",
"scope": "brain:approve",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"decision": {
"type": "string",
"enum": [
"approve",
"reject"
]
},
"reason": {
"type": "string",
"maxLength": 1000
},
"edit": {
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 300
},
"body": {
"type": "string",
"maxLength": 8000
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"decision"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^PRP-[0-9]{4,}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.policy.get
{
"id": "brain.policy.get",
"method": "GET",
"path": "/v1/brain/policy",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.policy.save
{
"id": "brain.policy.save",
"method": "POST",
"path": "/v1/brain/policy",
"authentication": "bearer required",
"scope": "brain:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"base": {
"type": "integer",
"minimum": 0
},
"policy": {
"type": "object",
"properties": {
"member_statements": {
"type": "string",
"enum": [
"observed",
"person"
]
},
"agent_lessons": {
"type": "string",
"enum": [
"person",
"observed"
]
},
"learning": {
"type": "boolean"
},
"approvers": {
"type": "object",
"properties": {
"where": {
"type": "string",
"enum": [
"review",
"slack",
"both"
]
}
},
"required": [],
"additionalProperties": false
},
"models": {
"type": "object",
"properties": {
"decision": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
},
"selftest": {
"type": "object",
"properties": {
"questions": {
"type": "array",
"items": {
"type": "string",
"minLength": 3,
"maxLength": 200
},
"minItems": 1,
"maxItems": 10
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"base",
"policy"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
registry.publish
{
"id": "registry.publish",
"method": "POST",
"path": "/v1/registry/submissions/{submissionId}/publication",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"submissionId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
registry.deprecate
{
"id": "registry.deprecate",
"method": "POST",
"path": "/v1/registry/submissions/{submissionId}/deprecation",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"minLength": 3,
"maxLength": 200
}
},
"required": [
"reason"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"submissionId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
registry.review.request
{
"id": "registry.review.request",
"method": "POST",
"path": "/v1/registry/submissions/{submissionId}/review",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"submissionId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
reviews.evaluate
{
"id": "reviews.evaluate",
"method": "POST",
"path": "/v1/registry/reviews/{reviewId}/evaluate",
"authentication": "bearer required",
"scope": "registry:review",
"effect": "read",
"idempotency": "required",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"reviewId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"reviewId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
reviews.approve
{
"id": "reviews.approve",
"method": "POST",
"path": "/v1/registry/reviews/{reviewId}/approve",
"authentication": "bearer required",
"scope": "registry:review",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"decision": {
"enum": [
"approve",
"refuse"
]
},
"note": {
"type": "string",
"maxLength": 500
}
},
"required": [
"decision"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"reviewId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"reviewId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
registry.suspend
{
"id": "registry.suspend",
"method": "POST",
"path": "/v1/registry/submissions/{submissionId}/suspension",
"authentication": "bearer required",
"scope": "registry:review",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"suspend": {
"type": "boolean"
},
"reason": {
"enum": [
"publisher_request",
"policy",
"security",
"ownership",
"inactive"
]
},
"note": {
"type": "string",
"maxLength": 500
}
},
"required": [
"suspend",
"reason"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"submissionId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
recipes.publish
{
"id": "recipes.publish",
"method": "POST",
"path": "/v1/recipes",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"manifest": {
"type": "object",
"properties": {
"identity": {
"type": "object",
"properties": {
"recipeId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"slug": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"displayName": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"summary": {
"type": "string",
"maxLength": 500
}
},
"required": [
"recipeId",
"slug",
"displayName"
],
"additionalProperties": false
},
"version": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 1
},
"versionLabel": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"version",
"versionLabel"
],
"additionalProperties": false
},
"author": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"license": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"url": {
"type": "string",
"maxLength": 2048
}
},
"required": [
"id"
],
"additionalProperties": false
},
"maintainer": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"required": [
"label",
"maintainer"
],
"additionalProperties": false
},
"inputs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]{0,63}$"
},
"type": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"required": {
"type": "boolean"
}
},
"required": [
"name",
"type",
"required"
],
"additionalProperties": false
},
"maxItems": 32
},
"outputs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"kind": {
"type": "string",
"enum": [
"text",
"artifact",
"record"
]
}
},
"required": [
"name",
"kind"
],
"additionalProperties": false
},
"maxItems": 16
},
"requiredContext": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"company",
"file",
"connection"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
"maxItems": 16
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"maxItems": 32,
"uniqueItems": true
},
"providerDependencies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"connectorId": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"provider",
"connectorId"
],
"additionalProperties": false
},
"maxItems": 16
},
"estimatedCost": {
"type": "object",
"properties": {
"microUsd": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"basis": {
"type": "string",
"maxLength": 32
},
"rateCard": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"microUsd",
"rateCard"
],
"additionalProperties": false
},
"maxSpend": {
"type": "object",
"properties": {
"microUsd": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"perRun": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"perDay": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"microUsd"
],
"additionalProperties": false
},
"timeout": {
"type": "object",
"properties": {
"seconds": {
"type": "integer",
"minimum": 60,
"maximum": 3600
}
},
"required": [
"seconds"
],
"additionalProperties": false
},
"acceptanceCriteria": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"maxItems": 16
},
"artifacts": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"maxItems": 8
},
"evaluationEvidence": {
"type": "object",
"properties": {
"runs": {
"type": "integer",
"minimum": 0
},
"accepted": {
"type": "integer",
"minimum": 0
},
"measuredAt": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"evidenceRef": {
"type": "string",
"minLength": 1,
"maxLength": 300
}
},
"required": [
"evidenceRef"
],
"additionalProperties": false
},
"maintenancePolicy": {
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"reviewEveryDays": {
"type": "integer",
"minimum": 1,
"maximum": 3650
},
"breakagePolicy": {
"type": "string",
"enum": [
"stop",
"degrade"
]
},
"supportedUntil": {
"type": "string",
"minLength": 1,
"maxLength": 32
}
},
"required": [
"owner",
"breakagePolicy"
],
"additionalProperties": false
},
"outcome": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"system": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"read": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"dedupe": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"id",
"system",
"read",
"dedupe"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"visibility": {
"type": "string",
"enum": [
"private",
"shared",
"public"
]
}
},
"required": [
"identity",
"version",
"author",
"inputs",
"outputs",
"requiredContext",
"scopes",
"providerDependencies",
"estimatedCost",
"maxSpend",
"timeout",
"acceptanceCriteria",
"artifacts",
"evaluationEvidence",
"maintenancePolicy",
"visibility"
],
"additionalProperties": false
},
"expectedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
}
},
"required": [
"manifest"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
recipes.get
{
"id": "recipes.get",
"method": "GET",
"path": "/v1/recipes/{recipeId}",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"recipeId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"recipeId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 1
}
},
"required": [],
"additionalProperties": false
}
}
recipes.list
{
"id": "recipes.list",
"method": "GET",
"path": "/v1/recipes",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
recipes.share
{
"id": "recipes.share",
"method": "POST",
"path": "/v1/recipes/{recipeId}/sharing",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"granteeTenantId": {
"type": "string",
"minLength": 1,
"maxLength": 40
},
"version": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"revoke": {
"type": "boolean"
}
},
"required": [
"granteeTenantId"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"recipeId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"recipeId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
recipes.pin
{
"id": "recipes.pin",
"method": "POST",
"path": "/v1/recipes/{recipeId}/pin",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 1
},
"acceptWidening": {
"type": "boolean"
}
},
"required": [
"version"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"recipeId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"recipeId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
recipes.fork
{
"id": "recipes.fork",
"method": "POST",
"path": "/v1/recipes/{recipeId}/fork",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 1
}
},
"required": [
"version"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"recipeId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"recipeId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
suppliers.list
{
"id": "suppliers.list",
"method": "GET",
"path": "/v1/suppliers",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
suppliers.order.quote
{
"id": "suppliers.order.quote",
"method": "POST",
"path": "/v1/suppliers/orders",
"authentication": "bearer required",
"scope": "agent:run",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"offerId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 10000
},
"sourceRun": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
{
"type": "null"
}
]
}
},
"required": [
"offerId",
"quantity"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
suppliers.order.approve
{
"id": "suppliers.order.approve",
"method": "POST",
"path": "/v1/suppliers/orders/{orderId}/approval",
"authentication": "bearer required",
"scope": "order:approve",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"offerId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 10000
},
"unitPriceMicroUsd": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalMicroUsd": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"offerId",
"quantity",
"unitPriceMicroUsd",
"totalMicroUsd"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"orderId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"orderId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
suppliers.order.deliver
{
"id": "suppliers.order.deliver",
"method": "POST",
"path": "/v1/suppliers/orders/{orderId}/delivery",
"authentication": "bearer required",
"scope": "suppliers:deliver",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"started": {
"type": "boolean"
},
"artifactSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"note": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"orderId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"orderId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
suppliers.order.accept
{
"id": "suppliers.order.accept",
"method": "POST",
"path": "/v1/suppliers/orders/{orderId}/acceptance",
"authentication": "bearer required",
"scope": "order:approve",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"accept": {
"type": "boolean"
},
"artifactSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"note": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
}
},
"required": [
"accept",
"artifactSha256"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"orderId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"orderId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
suppliers.order.get
{
"id": "suppliers.order.get",
"method": "GET",
"path": "/v1/suppliers/orders/{orderId}",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"orderId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"orderId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
concierge.mandate.get
{
"id": "concierge.mandate.get",
"method": "GET",
"path": "/v1/concierge/mandate",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
capabilities.search
{
"id": "capabilities.search",
"method": "GET",
"path": "/v1/capabilities/search",
"authentication": "bearer required",
"scope": "capabilities:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [],
"additionalProperties": false
}
}
capabilities.inspect
{
"id": "capabilities.inspect",
"method": "GET",
"path": "/v1/capabilities/inspect",
"authentication": "bearer required",
"scope": "capabilities:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [],
"additionalProperties": false
}
}
capabilities.estimate
{
"id": "capabilities.estimate",
"method": "GET",
"path": "/v1/capabilities/estimate",
"authentication": "bearer required",
"scope": "capabilities:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"tools": {
"type": "string",
"maxLength": 512,
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]{0,63}(,[A-Za-z_][A-Za-z0-9_.-]{0,63}){0,15}$"
}
},
"required": [],
"additionalProperties": false
}
}
capabilities.run
{
"id": "capabilities.run",
"method": "POST",
"path": "/v1/capabilities/run",
"authentication": "bearer required",
"scope": "capabilities:read",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"tool": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]{0,63}$"
}
},
"required": [
"id",
"tool"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
keys.teams.set
{
"id": "keys.teams.set",
"method": "POST",
"path": "/v1/keys/{keyId}/teams",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"teams": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"maxItems": 16,
"uniqueItems": true
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740990
}
},
"required": [
"teams",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"keyId": {
"type": "string",
"pattern": "^[a-z2-7]{8}$"
}
},
"required": [
"keyId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
org.directory.get
{
"id": "org.directory.get",
"method": "GET",
"path": "/v1/org/directory",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
org.department.set
{
"id": "org.department.set",
"method": "POST",
"path": "/v1/org/departments",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"parentId": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
{
"type": "null"
}
]
},
"effectiveFrom": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
{
"type": "null"
}
]
},
"effectiveTo": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
{
"type": "null"
}
]
},
"expectedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
}
},
"required": [
"name"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
org.level.set
{
"id": "org.level.set",
"method": "POST",
"path": "/v1/org/levels",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
{
"type": "null"
}
]
},
"ladder": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"rank": {
"type": "integer",
"minimum": 1
},
"effectiveFrom": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
{
"type": "null"
}
]
},
"effectiveTo": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
{
"type": "null"
}
]
},
"expectedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
}
},
"required": [
"ladder",
"name",
"rank"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
org.assignment.set
{
"id": "org.assignment.set",
"method": "POST",
"path": "/v1/org/assignments",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"userId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"departmentId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"levelId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"effectiveFrom": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
{
"type": "null"
}
]
},
"effectiveTo": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
{
"type": "null"
}
]
}
},
"required": [
"userId",
"departmentId",
"levelId"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
org.reporting.set
{
"id": "org.reporting.set",
"method": "POST",
"path": "/v1/org/reporting",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"userId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"managerId": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
{
"type": "null"
}
]
},
"effectiveFrom": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
{
"type": "null"
}
]
},
"effectiveTo": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
{
"type": "null"
}
]
}
},
"required": [
"userId"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
jobs.parked.get
{
"id": "jobs.parked.get",
"method": "GET",
"path": "/v1/jobs/parked",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
jobs.parked.list
{
"id": "jobs.parked.list",
"method": "GET",
"path": "/v1/jobs/parked/items",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.tenants.list
{
"id": "account.tenants.list",
"method": "GET",
"path": "/v1/account/tenants",
"authentication": "bearer required",
"scope": "account:provision",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.tenants.create
{
"id": "account.tenants.create",
"method": "POST",
"path": "/v1/account/tenants",
"authentication": "bearer required",
"scope": "account:provision",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"budgetMicroUsd": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"name"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.tenants.claim
{
"id": "account.tenants.claim",
"method": "POST",
"path": "/v1/account/tenants/{tenantId}/claim",
"authentication": "bearer required",
"scope": "account:provision",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"pattern": "^[a-z0-9-]{1,40}$"
}
},
"required": [
"tenantId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.tenants.close
{
"id": "account.tenants.close",
"method": "POST",
"path": "/v1/account/tenants/{tenantId}/close",
"authentication": "bearer required",
"scope": "account:provision",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"pattern": "^[a-z0-9-]{1,40}$"
}
},
"required": [
"tenantId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.tenants.keys.create
{
"id": "account.tenants.keys.create",
"method": "POST",
"path": "/v1/account/tenants/{tenantId}/keys",
"authentication": "bearer required",
"scope": "account:provision",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"agent:read",
"agent:create",
"agent:run",
"agent:stop",
"agent:retry",
"agent:delete",
"account:read",
"account:admin",
"finance:read",
"finance:sync",
"finance:connection",
"brain:read",
"brain:configure",
"brain:observe",
"brain:approve",
"brain:ingest",
"brain:export",
"brain:erase",
"connections:read",
"connections:configure",
"capabilities:read",
"domains:read",
"domains:purchase",
"foundry:read",
"foundry:refresh",
"billing:read",
"billing:fund",
"billing:admin",
"launch:read",
"launch:run",
"launch:decide",
"loops:read",
"loops:create",
"loops:mandate",
"browser:read",
"browser:use",
"browser:profiles",
"account:provision",
"registry:review",
"eval:read",
"eval:write",
"eval:decide",
"order:approve",
"suppliers:deliver",
"improve:contribute",
"contacts:read",
"contacts:write",
"channels:read",
"channels:configure",
"channels:send",
"uploads:read",
"uploads:write",
"uploads:erase",
"foundry:write",
"foundry:review",
"foundry:work",
"foundry:decide",
"foundry:configure",
"foundry:admit",
"platform:analyse",
"outcomes:read",
"outcomes:record",
"people:self",
"people:decide",
"telemetry:configure",
"marketing:read",
"marketing:act"
]
},
"maxItems": 67,
"uniqueItems": true
},
"preset": {
"type": "string",
"enum": [
"read",
"read-only",
"operate",
"spend",
"root"
]
},
"expiresAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [
"name"
],
"additionalProperties": false,
"not": {
"required": [
"scopes",
"preset"
]
}
},
"pathParameters": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"pattern": "^[a-z0-9-]{1,40}$"
}
},
"required": [
"tenantId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.tenants.keys.revoke
{
"id": "account.tenants.keys.revoke",
"method": "POST",
"path": "/v1/account/tenants/{tenantId}/keys/{keyId}/revoke",
"authentication": "bearer required",
"scope": "account:provision",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"pattern": "^[a-z0-9-]{1,40}$"
},
"keyId": {
"type": "string",
"pattern": "^[a-z2-7]{8}$"
}
},
"required": [
"tenantId",
"keyId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.tenants.budget.get
{
"id": "account.tenants.budget.get",
"method": "GET",
"path": "/v1/account/tenants/{tenantId}/budget",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"pattern": "^[a-z0-9-]{1,40}$"
}
},
"required": [
"tenantId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.tenants.budget.set
{
"id": "account.tenants.budget.set",
"method": "POST",
"path": "/v1/account/tenants/{tenantId}/budget",
"authentication": "bearer required",
"scope": "billing:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"usagePerMonthMicroUsd": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740990
}
},
"required": [
"usagePerMonthMicroUsd",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"tenantId": {
"type": "string",
"pattern": "^[a-z0-9-]{1,40}$"
}
},
"required": [
"tenantId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
account.usage.get
{
"id": "account.usage.get",
"method": "GET",
"path": "/v1/account/usage",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
billing.invoices.list
{
"id": "billing.invoices.list",
"method": "GET",
"path": "/v1/billing/invoices",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
billing.method.get
{
"id": "billing.method.get",
"method": "GET",
"path": "/v1/billing/method",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
billing.method.save
{
"id": "billing.method.save",
"method": "POST",
"path": "/v1/billing/method",
"authentication": "bearer required",
"scope": "billing:admin",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
billing.autotopup.get
{
"id": "billing.autotopup.get",
"method": "GET",
"path": "/v1/billing/autotopup",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
billing.autotopup.set
{
"id": "billing.autotopup.set",
"method": "POST",
"path": "/v1/billing/autotopup",
"authentication": "bearer required",
"scope": "billing:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"triggerUsd": {
"type": "string",
"pattern": "^(?:0|[1-9][0-9]{0,11})(?:\\.[0-9]{1,2})?$"
},
"amountUsd": {
"type": "string",
"pattern": "^(?:0|[1-9][0-9]{0,11})(?:\\.[0-9]{1,2})?$"
},
"monthlyCeilingUsd": {
"type": "string",
"pattern": "^(?:0|[1-9][0-9]{0,11})(?:\\.[0-9]{1,2})?$"
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740990
}
},
"required": [
"enabled",
"triggerUsd",
"amountUsd",
"monthlyCeilingUsd",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
stakeholders.inbox
{
"id": "stakeholders.inbox",
"method": "GET",
"path": "/v1/stakeholders/inbox",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"os": {
"type": "string",
"enum": [
"all",
"brainos",
"foundryos",
"agentos",
"launchos",
"domains",
"loops",
"platform"
]
},
"view": {
"type": "string",
"enum": [
"waiting",
"decided"
]
},
"count": {
"type": "string",
"enum": [
"true"
]
}
},
"required": [],
"additionalProperties": false
}
}
handoffs.create
{
"id": "handoffs.create",
"method": "POST",
"path": "/v1/handoffs",
"authentication": "bearer required",
"scope": "account:read",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"kind": {
"const": "decide"
},
"subjectHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"operation": {
"type": "string",
"minLength": 3,
"maxLength": 120,
"pattern": "^[a-z][a-z0-9]*(?:\\.[a-z0-9]+){1,5}$"
},
"blocks": {
"anyOf": [
{
"type": "string",
"maxLength": 240
},
{
"type": "null"
}
]
},
"costMicroUsd": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"reversible": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"expiresAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"subjectHash",
"title",
"operation"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
handoffs.decide
{
"id": "handoffs.decide",
"method": "POST",
"path": "/v1/handoffs/{id}/decide",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"decision": {
"type": "string",
"enum": [
"approve",
"reject"
]
},
"subjectHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"note": {
"type": "string",
"maxLength": 1000
}
},
"required": [
"decision",
"subjectHash"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
connections.tools.list
{
"id": "connections.tools.list",
"method": "GET",
"path": "/v1/connections/{connector}/tools",
"authentication": "bearer required",
"scope": "connections:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"connector": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"connector"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"cursor": {
"type": "string",
"pattern": "^[1-9][0-9]{0,5}$"
}
},
"required": [],
"additionalProperties": false
}
}
connections.policy.get
{
"id": "connections.policy.get",
"method": "GET",
"path": "/v1/connections/policy",
"authentication": "bearer required",
"scope": "connections:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
connections.policy.save
{
"id": "connections.policy.save",
"method": "POST",
"path": "/v1/connections/policy",
"authentication": "bearer required",
"scope": "connections:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"connector": {
"type": "string",
"pattern": "^(\\*|[a-z0-9][a-z0-9-]{0,39})$"
},
"tool": {
"anyOf": [
{
"type": "string",
"maxLength": 80,
"pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,79}$"
},
{
"type": "null"
}
]
},
"policy": {
"type": "string",
"enum": [
"off",
"read-only",
"ask-first",
"automatic"
]
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"connector",
"policy",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
catalog.status
{
"id": "catalog.status",
"method": "GET",
"path": "/v1/catalog/status",
"authentication": "bearer required",
"scope": "capabilities:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
members.me
{
"id": "members.me",
"method": "GET",
"path": "/v1/members/me",
"authentication": "bearer required",
"scope": "people:self",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
people.profile.get
{
"id": "people.profile.get",
"method": "GET",
"path": "/v1/people/me/profile",
"authentication": "bearer required",
"scope": "people:self",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
people.profile.set
{
"id": "people.profile.set",
"method": "POST",
"path": "/v1/people/me/profile",
"authentication": "bearer required",
"scope": "people:self",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"text": {
"type": "string",
"maxLength": 20000
}
},
"required": [
"text"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
people.profile.remove
{
"id": "people.profile.remove",
"method": "POST",
"path": "/v1/people/me/profile/removal",
"authentication": "bearer required",
"scope": "people:self",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
members.invitations.resend
{
"id": "members.invitations.resend",
"method": "POST",
"path": "/v1/membership/invitations/{id}/resend",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
members.invitations.revoke
{
"id": "members.invitations.revoke",
"method": "POST",
"path": "/v1/membership/invitations/{id}/revocation",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
members.policy.get
{
"id": "members.policy.get",
"method": "GET",
"path": "/v1/membership/policy",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
members.policy.set
{
"id": "members.policy.set",
"method": "POST",
"path": "/v1/membership/policy",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"policy": {
"type": "object",
"properties": {
"inviteTtlDays": {
"type": "integer",
"minimum": 1,
"maximum": 30
},
"allowExternal": {
"type": "boolean"
},
"allowedDomains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 253
},
"maxItems": 32
},
"providers": {
"type": "array",
"items": {
"type": "string",
"enum": [
"fathom",
"gmail"
]
}
},
"sharingCeiling": {
"type": "string",
"enum": [
"internal",
"team",
"company"
]
},
"maxLookbackDays": {
"type": "integer",
"minimum": 1,
"maximum": 365
},
"grantMaxDays": {
"type": "integer",
"minimum": 1,
"maximum": 90
},
"freshProofMinutes": {
"type": "integer",
"minimum": 1,
"maximum": 1440
},
"secondApprover": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"policy"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
members.accept.start
{
"id": "members.accept.start",
"method": "POST",
"path": "/v1/membership/accept/start",
"authentication": "public (no bearer required)",
"scope": null,
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"token": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"token"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
oauth.token
{
"id": "oauth.token",
"method": "POST",
"path": "/v1/oauth/token",
"authentication": "public (no bearer required)",
"scope": null,
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
oauth.register
{
"id": "oauth.register",
"method": "POST",
"path": "/v1/oauth/register",
"authentication": "public (no bearer required)",
"scope": null,
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"client_name": {
"type": "string",
"maxLength": 120
},
"redirect_uris": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048
},
"maxItems": 8
},
"client_uri": {
"type": "string",
"maxLength": 2048
}
},
"required": [
"client_name",
"redirect_uris"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
oauth.revoke
{
"id": "oauth.revoke",
"method": "POST",
"path": "/v1/oauth/revoke",
"authentication": "public (no bearer required)",
"scope": null,
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
connections.call
{
"id": "connections.call",
"method": "POST",
"path": "/v1/connections/{connector}/call",
"authentication": "bearer required",
"scope": "connections:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"tool": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,79}$"
},
"args": {
"type": "object",
"additionalProperties": true,
"description": "Arguments of the named tool, checked against that tool's stored schema before the supplier is asked."
}
},
"required": [
"tool",
"args"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"connector": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"connector"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"subject": {
"type": "string",
"pattern": "^(company|team|person|agent):[A-Za-z0-9_-]{1,64}$"
}
},
"required": [],
"additionalProperties": false
}
}
connections.resource
{
"id": "connections.resource",
"method": "POST",
"path": "/v1/connections/{connector}/resource",
"authentication": "bearer required",
"scope": "connections:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"value": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"value"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"connector": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"connector"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
connections.list
{
"id": "connections.list",
"method": "GET",
"path": "/v1/connections/list",
"authentication": "bearer required",
"scope": "connections:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"connector": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"subject": {
"type": "string",
"pattern": "^(company|team|person|agent):[A-Za-z0-9_-]{1,64}$"
}
},
"required": [],
"additionalProperties": false
}
}
connections.remove
{
"id": "connections.remove",
"method": "POST",
"path": "/v1/connections/{id}/removal",
"authentication": "bearer required",
"scope": "connections:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^([a-z0-9][a-z0-9-]{0,39}|[a-f0-9-]{36})$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
audit.export
{
"id": "audit.export",
"method": "GET",
"path": "/v1/audit/export",
"authentication": "bearer required",
"scope": "account:admin",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"from": {
"type": "string",
"format": "date-time"
},
"to": {
"type": "string",
"format": "date-time"
},
"after": {
"type": "string",
"maxLength": 120
},
"format": {
"type": "string",
"enum": [
"json",
"jsonl"
]
}
},
"required": [
"from",
"to"
],
"additionalProperties": false
}
}
ledger.list
{
"id": "ledger.list",
"method": "GET",
"path": "/v1/ledger",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"job": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"after": {
"type": "string",
"pattern": "^[0-9]+$"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"required": [
"job"
],
"additionalProperties": false
}
}
ledger.job
{
"id": "ledger.job",
"method": "GET",
"path": "/v1/ledger/jobs/{id}",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
ledger.verify
{
"id": "ledger.verify",
"method": "GET",
"path": "/v1/ledger/jobs/{id}/verification",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
ledger.query
{
"id": "ledger.query",
"method": "POST",
"path": "/v1/ledger/query",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"question": {
"type": "string",
"enum": [
"cost_by_agent",
"cost_by_recipe",
"cost_by_context_version",
"cost_by_operation",
"cost_by_day",
"cost_by_agent_slot",
"failures_by_result_code",
"time_to_result",
"interventions_per_job",
"agent_version_asks",
"agent_version_cost",
"agent_version_tools",
"agent_version_time",
"agent_version_slots",
"foundry_quality_by_repository",
"foundry_gate_calibration",
"fleet_daily",
"usage_lines"
]
},
"from": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"to": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"company": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"system": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"agent": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"key": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"model": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"day": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
},
{
"type": "null"
}
]
},
"billedElsewhere": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"question"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
outcomes.list
{
"id": "outcomes.list",
"method": "GET",
"path": "/v1/outcomes",
"authentication": "bearer required",
"scope": "outcomes:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"from": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"to": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
}
}
outcomes.statement
{
"id": "outcomes.statement",
"method": "POST",
"path": "/v1/outcomes/statement",
"authentication": "bearer required",
"scope": "outcomes:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"from": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"to": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
outcomes.export
{
"id": "outcomes.export",
"method": "POST",
"path": "/v1/outcomes/statement/export",
"authentication": "bearer required",
"scope": "outcomes:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"from": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"to": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
ledger.analysis
{
"id": "ledger.analysis",
"method": "POST",
"path": "/v1/ledger/analysis",
"authentication": "bearer required",
"scope": "platform:analyse",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"question": {
"type": "string",
"enum": [
"cost_by_agent",
"cost_by_recipe",
"cost_by_context_version",
"cost_by_operation",
"cost_by_day",
"failures_by_result_code",
"time_to_result",
"interventions_per_job"
]
},
"from": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"to": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [
"question"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
analytics.health.get
{
"id": "analytics.health.get",
"method": "GET",
"path": "/v1/analytics/health",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
telemetry.destinations.save
{
"id": "telemetry.destinations.save",
"method": "POST",
"path": "/v1/telemetry/destinations",
"authentication": "bearer required",
"scope": "telemetry:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"url": {
"type": "string",
"minLength": 12,
"maxLength": 2048
},
"content": {
"type": "boolean"
},
"token": {
"type": "string",
"writeOnly": true,
"minLength": 16,
"maxLength": 1024,
"pattern": "^[\\x21-\\x7e]{16,1024}$"
}
},
"required": [
"url"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
telemetry.destinations.get
{
"id": "telemetry.destinations.get",
"method": "GET",
"path": "/v1/telemetry/destinations",
"authentication": "bearer required",
"scope": "telemetry:configure",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
telemetry.destinations.remove
{
"id": "telemetry.destinations.remove",
"method": "POST",
"path": "/v1/telemetry/destinations/removal",
"authentication": "bearer required",
"scope": "telemetry:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
platform.overview.get
{
"id": "platform.overview.get",
"method": "GET",
"path": "/v1/platform/overview",
"authentication": "bearer required",
"scope": "platform:analyse",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"period": {
"type": "string",
"enum": [
"today",
"7d",
"30d"
]
},
"company": {
"type": "string",
"pattern": "^co-[a-f0-9]{16}$"
}
},
"required": [],
"additionalProperties": false
}
}
sso.start
{
"id": "sso.start",
"method": "GET",
"path": "/v1/sso/start",
"authentication": "public (no bearer required)",
"scope": null,
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"maxLength": 253
}
},
"required": [],
"additionalProperties": false
}
}
sso.callback
{
"id": "sso.callback",
"method": "POST",
"path": "/v1/sso/callback",
"authentication": "public (no bearer required)",
"scope": null,
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
sso.recovery.complete
{
"id": "sso.recovery.complete",
"method": "POST",
"path": "/v1/sso/recovery/complete",
"authentication": "public (no bearer required)",
"scope": null,
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"code": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"email": {
"type": "string",
"maxLength": 254
}
},
"required": [
"code",
"email"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
events.list
{
"id": "events.list",
"method": "GET",
"path": "/v1/events",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"after": {
"type": "string",
"pattern": "^[0-9]{1,19}$"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [],
"additionalProperties": false
}
}
pricing.get
{
"id": "pricing.get",
"method": "GET",
"path": "/v1/pricing",
"authentication": "public (no bearer required)",
"scope": null,
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
quotes.create
{
"id": "quotes.create",
"method": "POST",
"path": "/v1/quotes",
"authentication": "bearer required",
"scope": null,
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"operation": {
"type": "string",
"maxLength": 80
},
"maximumMicroUsd": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"tier": {
"type": "string",
"enum": [
"auto",
"coding"
]
}
},
"required": [
"operation"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
receipts.list
{
"id": "receipts.list",
"method": "GET",
"path": "/v1/receipts",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
receipts.get
{
"id": "receipts.get",
"method": "GET",
"path": "/v1/receipts/{id}",
"authentication": "bearer required",
"scope": null,
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
explore.get
{
"id": "explore.get",
"method": "GET",
"path": "/v1/explore",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
purchases.limits.get
{
"id": "purchases.limits.get",
"method": "GET",
"path": "/v1/purchases/limits",
"authentication": "bearer required",
"scope": "billing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
purchases.limits.set
{
"id": "purchases.limits.set",
"method": "POST",
"path": "/v1/purchases/limits",
"authentication": "bearer required",
"scope": "billing:admin",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"purchasePerMonthMicroUsd": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740000
},
"expectedVersion": {
"type": "integer",
"minimum": 0
}
},
"required": [
"purchasePerMonthMicroUsd",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
models.policy.get
{
"id": "models.policy.get",
"method": "GET",
"path": "/v1/models/policy",
"authentication": "bearer required",
"scope": "connections:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
models.policy.save
{
"id": "models.policy.save",
"method": "POST",
"path": "/v1/models/policy",
"authentication": "bearer required",
"scope": "connections:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"base": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"policy": {
"type": "object",
"properties": {
"providers": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,31}$"
},
"maxItems": 32,
"uniqueItems": true
},
"models": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:/+-]{0,159}$"
},
"maxItems": 64,
"uniqueItems": true
},
"noTraining": {
"const": true,
"description": "Not a switch: every allowed endpoint must commit not to train."
},
"zeroRetention": {
"type": "boolean"
},
"region": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-z]{2}(?:-[a-z0-9]{1,16})?$"
},
{
"type": "null"
}
]
},
"route": {
"type": "string",
"enum": [
"router",
"own-key",
"cloud-account"
]
},
"ownKey": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,31}$"
},
{
"type": "null"
}
]
},
"maxUsdPerMillion": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000,
"description": "The dearest price, in dollars per million tokens, a model may publish and still be run for this company. Null means the platform ceiling of 1000. It can only lower that ceiling."
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"base",
"policy"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
models.catalog.get
{
"id": "models.catalog.get",
"method": "GET",
"path": "/v1/models/catalog",
"authentication": "bearer required",
"scope": "connections:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"kind": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9_.-]{0,39}$"
},
"supports": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9_.-]{0,39}$"
},
"filter": {
"type": "string",
"enum": [
"all",
"featured",
"allowed"
]
},
"cursor": {
"type": "string",
"pattern": "^[1-9][0-9]{0,4}$"
}
},
"required": [],
"additionalProperties": false
}
}
models.get
{
"id": "models.get",
"method": "GET",
"path": "/v1/models/detail",
"authentication": "bearer required",
"scope": "connections:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 3,
"maxLength": 160,
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:/+-]{0,159}$"
}
},
"required": [
"id"
],
"additionalProperties": false
}
}
models.connections.list
{
"id": "models.connections.list",
"method": "GET",
"path": "/v1/models/connections",
"authentication": "bearer required",
"scope": "connections:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
models.connections.set
{
"id": "models.connections.set",
"method": "POST",
"path": "/v1/models/connections",
"authentication": "bearer required",
"scope": "connections:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,31}$"
},
"kind": {
"type": "string",
"enum": [
"gateway",
"api_key"
]
},
"baseUrl": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048,
"description": "Required for every connection but the company's own router key (id openrouter-own): that one may leave it out and is sealed with the router's own address, and it is refused with any other address."
},
"bearer": {
"type": "string",
"writeOnly": true,
"minLength": 8,
"maxLength": 8192,
"description": "Sealed with its URL in one record and never returned."
},
"provider": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,31}$"
},
{
"type": "null"
}
]
},
"noTraining": {
"type": "boolean"
},
"zeroRetention": {
"type": "boolean"
},
"region": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-z]{2}(?:-[a-z0-9]{1,16})?$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"kind",
"bearer"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
models.connections.remove
{
"id": "models.connections.remove",
"method": "POST",
"path": "/v1/models/connections/{id}/removal",
"authentication": "bearer required",
"scope": "connections:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,31}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
loops.list
{
"id": "loops.list",
"method": "GET",
"path": "/v1/loops",
"authentication": "bearer required",
"scope": "loops:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
loops.read
{
"id": "loops.read",
"method": "GET",
"path": "/v1/loops/{id}",
"authentication": "bearer required",
"scope": "loops:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
loops.runs
{
"id": "loops.runs",
"method": "GET",
"path": "/v1/loops/{id}/runs",
"authentication": "bearer required",
"scope": "loops:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
loops.result
{
"id": "loops.result",
"method": "GET",
"path": "/v1/loops/{id}/result",
"authentication": "bearer required",
"scope": "loops:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
loops.create
{
"id": "loops.create",
"method": "POST",
"path": "/v1/loops",
"authentication": "bearer required",
"scope": "loops:create",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 80
},
"objective": {
"type": "string",
"maxLength": 500
},
"hypothesis": {
"type": "string",
"maxLength": 500
},
"ownerOs": {
"type": "string",
"enum": [
"agentos",
"brainos",
"marketingos",
"foundryos",
"financeos",
"launchos",
"platform"
]
},
"trigger": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"clock",
"event",
"check"
]
},
"schedule": {
"type": "object",
"properties": {
"every": {
"type": "string",
"enum": [
"hour",
"day",
"week"
]
},
"at": {
"type": "string"
},
"weekday": {
"type": "integer",
"minimum": 0,
"maximum": 6
},
"timezone": {
"type": "string"
}
},
"required": [
"every",
"timezone"
],
"additionalProperties": false
},
"events": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 20,
"uniqueItems": true
},
"checkRef": {
"type": "string",
"maxLength": 80
},
"checkSource": {
"type": "string",
"maxLength": 2048
},
"everyMinutes": {
"type": "integer",
"minimum": 5,
"maximum": 1440
}
},
"required": [
"kind"
],
"additionalProperties": false
},
"actions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"launch",
"operation"
]
},
"launch": {
"type": "object",
"properties": {
"ask": {
"type": "string",
"maxLength": 2000
},
"recipe": {
"type": "string"
}
},
"required": [
"ask"
],
"additionalProperties": false
},
"operation": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
},
"required": [
"id"
],
"additionalProperties": false
},
"effect": {
"type": "string",
"enum": [
"send",
"post",
"publish",
"pay",
"change-account"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 8
},
"window": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"minimum": 1,
"maximum": 90
},
"unit": {
"type": "string",
"enum": [
"hour",
"day",
"week",
"month"
]
}
},
"required": [
"length",
"unit"
],
"additionalProperties": false
},
"metric": {
"type": "object",
"properties": {
"label": {
"type": "string",
"enum": [
"accepted",
"rejected",
"revised",
"rolled_back",
"escaped_defect",
"refunded",
"replied",
"booked",
"converted",
"retained"
]
},
"measure": {
"type": "string",
"enum": [
"count",
"rate",
"value_microusd"
]
},
"of": {
"type": "string"
},
"direction": {
"type": "string",
"enum": [
"up",
"down"
]
},
"minimumWindow": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"minimum": 1,
"maximum": 90
},
"unit": {
"type": "string",
"enum": [
"hour",
"day",
"week",
"month"
]
}
},
"required": [
"length",
"unit"
],
"additionalProperties": false
}
},
"required": [
"label",
"measure",
"direction",
"minimumWindow"
],
"additionalProperties": false
},
"budget": {
"type": "object",
"properties": {
"microUsd": {
"type": "integer",
"minimum": 1
},
"perRunMicroUsd": {
"type": "integer",
"minimum": 1
},
"period": {
"type": "string",
"enum": [
"week",
"month",
"quarter",
"life"
]
}
},
"required": [
"microUsd",
"period"
],
"additionalProperties": false
},
"downside": {
"type": "object",
"properties": {
"actionsPerRun": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"outboundPerDay": {
"type": "integer",
"minimum": 0,
"maximum": 500
},
"never": {
"type": "array",
"items": {
"type": "string",
"enum": [
"send",
"post",
"publish",
"pay",
"change-account"
]
},
"maxItems": 5,
"uniqueItems": true
}
},
"required": [
"actionsPerRun"
],
"additionalProperties": false
},
"stopping": {
"type": "object",
"properties": {
"afterRunsWithoutImprovement": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"afterConsecutiveRefusals": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"escalate": {
"type": "object",
"properties": {
"afterRunsWithoutImprovement": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"to": {
"type": "string",
"enum": [
"owner",
"stakeholder"
]
}
},
"required": [
"afterRunsWithoutImprovement",
"to"
],
"additionalProperties": false
}
},
"required": [
"escalate"
],
"additionalProperties": false
},
"variants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 24
},
"action": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"launch",
"operation"
]
},
"launch": {
"type": "object",
"properties": {
"ask": {
"type": "string",
"maxLength": 2000
},
"recipe": {
"type": "string"
}
},
"required": [
"ask"
],
"additionalProperties": false
},
"operation": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
},
"required": [
"id"
],
"additionalProperties": false
},
"effect": {
"type": "string",
"enum": [
"send",
"post",
"publish",
"pay",
"change-account"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
"share": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"key",
"action"
],
"additionalProperties": false
},
"minItems": 2,
"maxItems": 8
},
"minimumSample": {
"type": "integer",
"minimum": 2,
"maximum": 100000
}
},
"required": [
"name",
"objective",
"trigger",
"actions",
"window",
"metric",
"budget",
"downside",
"stopping"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
loops.update
{
"id": "loops.update",
"method": "POST",
"path": "/v1/loops/{id}",
"authentication": "bearer required",
"scope": "loops:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 80
},
"objective": {
"type": "string",
"maxLength": 500
},
"hypothesis": {
"type": "string",
"maxLength": 500
},
"ownerOs": {
"type": "string",
"enum": [
"agentos",
"brainos",
"marketingos",
"foundryos",
"financeos",
"launchos",
"platform"
]
},
"trigger": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"clock",
"event",
"check"
]
},
"schedule": {
"type": "object",
"properties": {
"every": {
"type": "string",
"enum": [
"hour",
"day",
"week"
]
},
"at": {
"type": "string"
},
"weekday": {
"type": "integer",
"minimum": 0,
"maximum": 6
},
"timezone": {
"type": "string"
}
},
"required": [
"every",
"timezone"
],
"additionalProperties": false
},
"events": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 20,
"uniqueItems": true
},
"checkRef": {
"type": "string",
"maxLength": 80
},
"checkSource": {
"type": "string",
"maxLength": 2048
},
"everyMinutes": {
"type": "integer",
"minimum": 5,
"maximum": 1440
}
},
"required": [
"kind"
],
"additionalProperties": false
},
"actions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"launch",
"operation"
]
},
"launch": {
"type": "object",
"properties": {
"ask": {
"type": "string",
"maxLength": 2000
},
"recipe": {
"type": "string"
}
},
"required": [
"ask"
],
"additionalProperties": false
},
"operation": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
},
"required": [
"id"
],
"additionalProperties": false
},
"effect": {
"type": "string",
"enum": [
"send",
"post",
"publish",
"pay",
"change-account"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 8
},
"window": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"minimum": 1,
"maximum": 90
},
"unit": {
"type": "string",
"enum": [
"hour",
"day",
"week",
"month"
]
}
},
"required": [
"length",
"unit"
],
"additionalProperties": false
},
"metric": {
"type": "object",
"properties": {
"label": {
"type": "string",
"enum": [
"accepted",
"rejected",
"revised",
"rolled_back",
"escaped_defect",
"refunded",
"replied",
"booked",
"converted",
"retained"
]
},
"measure": {
"type": "string",
"enum": [
"count",
"rate",
"value_microusd"
]
},
"of": {
"type": "string"
},
"direction": {
"type": "string",
"enum": [
"up",
"down"
]
},
"minimumWindow": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"minimum": 1,
"maximum": 90
},
"unit": {
"type": "string",
"enum": [
"hour",
"day",
"week",
"month"
]
}
},
"required": [
"length",
"unit"
],
"additionalProperties": false
}
},
"required": [
"label",
"measure",
"direction",
"minimumWindow"
],
"additionalProperties": false
},
"budget": {
"type": "object",
"properties": {
"microUsd": {
"type": "integer",
"minimum": 1
},
"perRunMicroUsd": {
"type": "integer",
"minimum": 1
},
"period": {
"type": "string",
"enum": [
"week",
"month",
"quarter",
"life"
]
}
},
"required": [
"microUsd",
"period"
],
"additionalProperties": false
},
"downside": {
"type": "object",
"properties": {
"actionsPerRun": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"outboundPerDay": {
"type": "integer",
"minimum": 0,
"maximum": 500
},
"never": {
"type": "array",
"items": {
"type": "string",
"enum": [
"send",
"post",
"publish",
"pay",
"change-account"
]
},
"maxItems": 5,
"uniqueItems": true
}
},
"required": [
"actionsPerRun"
],
"additionalProperties": false
},
"stopping": {
"type": "object",
"properties": {
"afterRunsWithoutImprovement": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"afterConsecutiveRefusals": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"escalate": {
"type": "object",
"properties": {
"afterRunsWithoutImprovement": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"to": {
"type": "string",
"enum": [
"owner",
"stakeholder"
]
}
},
"required": [
"afterRunsWithoutImprovement",
"to"
],
"additionalProperties": false
}
},
"required": [
"escalate"
],
"additionalProperties": false
},
"variants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 24
},
"action": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"launch",
"operation"
]
},
"launch": {
"type": "object",
"properties": {
"ask": {
"type": "string",
"maxLength": 2000
},
"recipe": {
"type": "string"
}
},
"required": [
"ask"
],
"additionalProperties": false
},
"operation": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80
},
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
},
"required": [
"id"
],
"additionalProperties": false
},
"effect": {
"type": "string",
"enum": [
"send",
"post",
"publish",
"pay",
"change-account"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
"share": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"key",
"action"
],
"additionalProperties": false
},
"minItems": 2,
"maxItems": 8
},
"minimumSample": {
"type": "integer",
"minimum": 2,
"maximum": 100000
}
},
"required": [
"name",
"objective",
"trigger",
"actions",
"window",
"metric",
"budget",
"downside",
"stopping"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
loops.pause
{
"id": "loops.pause",
"method": "POST",
"path": "/v1/loops/{id}/pause",
"authentication": "bearer required",
"scope": "loops:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
loops.resume
{
"id": "loops.resume",
"method": "POST",
"path": "/v1/loops/{id}/resume",
"authentication": "bearer required",
"scope": "loops:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
loops.stop
{
"id": "loops.stop",
"method": "POST",
"path": "/v1/loops/{id}/stop",
"authentication": "bearer required",
"scope": "loops:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
loops.mandate.read
{
"id": "loops.mandate.read",
"method": "GET",
"path": "/v1/loops/mandate",
"authentication": "bearer required",
"scope": "loops:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
platform.ablation.run
{
"id": "platform.ablation.run",
"method": "POST",
"path": "/v1/ablation/run",
"authentication": "bearer required",
"scope": "loops:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"os": {
"type": "string",
"enum": [
"agentos",
"brainos",
"marketingos",
"foundryos",
"financeos",
"launchos",
"platform"
]
},
"partId": {
"type": "string",
"minLength": 3,
"maxLength": 80
},
"tasks": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"minItems": 1,
"maxItems": 20,
"uniqueItems": true
},
"repetitions": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"evaluation": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{4,40}$"
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"runId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"grades": {
"type": "array",
"items": {
"type": "object",
"properties": {
"launchId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"arm": {
"type": "string",
"enum": [
"on",
"off"
]
},
"repetition": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"pass": {
"type": "boolean"
},
"grader": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"person",
"check"
]
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"required": [
"kind",
"id"
],
"additionalProperties": false
}
},
"required": [
"launchId",
"arm",
"repetition",
"pass",
"grader"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 6000
}
},
"required": [
"os"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
platform.ablation.report
{
"id": "platform.ablation.report",
"method": "GET",
"path": "/v1/ablation/report",
"authentication": "bearer required",
"scope": "loops:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"os": {
"type": "string",
"enum": [
"agentos",
"brainos",
"marketingos",
"foundryos",
"financeos",
"launchos",
"platform"
]
}
},
"required": [],
"additionalProperties": false
}
}
home.get
{
"id": "home.get",
"method": "GET",
"path": "/v1/home",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
company.search
{
"id": "company.search",
"method": "GET",
"path": "/v1/search",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"q": {
"type": "string",
"maxLength": 120
},
"limit": {
"type": "string",
"pattern": "^[0-9]{1,2}$"
}
},
"required": [],
"additionalProperties": false
}
}
speech.transcribe
{
"id": "speech.transcribe",
"method": "POST",
"path": "/v1/speech/transcribe",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"audioBase64": {
"type": "string",
"minLength": 4,
"maxLength": 8388608
},
"contentType": {
"type": "string",
"enum": [
"audio/webm",
"audio/ogg",
"audio/mp4",
"audio/mpeg",
"audio/wav",
"audio/x-wav",
"audio/flac",
"audio/aac",
"audio/opus"
]
},
"language": {
"type": "string",
"pattern": "^[a-zA-Z]{2,3}(?:-[a-zA-Z0-9]{2,8})?$"
},
"interview": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"audioBase64",
"contentType"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
uploads.create
{
"id": "uploads.create",
"method": "POST",
"path": "/v1/uploads",
"authentication": "bearer required",
"scope": "uploads:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"minLength": 3,
"maxLength": 120,
"pattern": "^[a-z0-9][a-z0-9.+/-]{1,118}$"
},
"bytes": {
"type": "integer",
"minimum": 0,
"maximum": 268435456
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"content": {
"anyOf": [
{
"type": "string",
"maxLength": 2097152,
"description": "A small file sent inside the declaration, base64. At most 1 MiB before encoding."
},
{
"type": "null"
}
]
}
},
"required": [
"name",
"type",
"bytes",
"sha256"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
uploads.content.put
{
"id": "uploads.content.put",
"method": "PUT",
"path": "/v1/uploads/{id}/content",
"authentication": "bearer required",
"scope": "uploads:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
uploads.get
{
"id": "uploads.get",
"method": "GET",
"path": "/v1/uploads/{id}",
"authentication": "bearer required",
"scope": "uploads:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
uploads.list
{
"id": "uploads.list",
"method": "GET",
"path": "/v1/uploads",
"authentication": "bearer required",
"scope": "uploads:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"type": {
"type": "string",
"minLength": 3,
"maxLength": 120,
"pattern": "^[a-z0-9][a-z0-9.+/-]{1,118}$"
},
"holder": {
"type": "string",
"maxLength": 40
},
"state": {
"type": "string",
"enum": [
"waiting",
"ready",
"refused",
"removed"
]
},
"limit": {
"type": "string",
"pattern": "^[1-9][0-9]{0,2}$"
}
},
"required": [],
"additionalProperties": false
}
}
uploads.content.get
{
"id": "uploads.content.get",
"method": "GET",
"path": "/v1/uploads/{id}/content",
"authentication": "bearer required",
"scope": "uploads:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
uploads.text.get
{
"id": "uploads.text.get",
"method": "GET",
"path": "/v1/uploads/{id}/text",
"authentication": "bearer required",
"scope": "uploads:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
uploads.remove
{
"id": "uploads.remove",
"method": "POST",
"path": "/v1/uploads/{id}/removal",
"authentication": "bearer required",
"scope": "uploads:erase",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"maxLength": 500
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
contacts.list
{
"id": "contacts.list",
"method": "GET",
"path": "/v1/contacts",
"authentication": "bearer required",
"scope": "contacts:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"slack",
"telegram",
"email",
"whatsapp"
]
}
},
"required": [],
"additionalProperties": false
}
}
contacts.get
{
"id": "contacts.get",
"method": "GET",
"path": "/v1/contacts/{contactId}",
"authentication": "bearer required",
"scope": "contacts:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"contactId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"contactId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
contacts.create
{
"id": "contacts.create",
"method": "POST",
"path": "/v1/contacts",
"authentication": "bearer required",
"scope": "contacts:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"displayName": {
"type": "string",
"maxLength": 200
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
contacts.link
{
"id": "contacts.link",
"method": "POST",
"path": "/v1/contacts/{contactId}/addresses",
"authentication": "bearer required",
"scope": "contacts:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"slack",
"telegram",
"email",
"whatsapp"
]
},
"address": {
"type": "string",
"minLength": 3,
"maxLength": 320
},
"by": {
"type": "string",
"enum": [
"person",
"verified_match"
]
},
"evidence": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"maxLength": 80
},
"subject": {
"type": "string",
"maxLength": 200
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"kind",
"address",
"by"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"contactId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"contactId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
contacts.consent.get
{
"id": "contacts.consent.get",
"method": "GET",
"path": "/v1/contacts/{contactId}/consent",
"authentication": "bearer required",
"scope": "contacts:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"contactId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"contactId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
contacts.consent.set
{
"id": "contacts.consent.set",
"method": "POST",
"path": "/v1/contacts/{contactId}/consent",
"authentication": "bearer required",
"scope": "contacts:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"slack",
"telegram",
"email",
"whatsapp",
"all"
]
},
"state": {
"type": "string",
"enum": [
"unknown",
"granted",
"withdrawn"
]
},
"words": {
"type": "string",
"maxLength": 500
},
"source": {
"type": "string",
"enum": [
"person",
"import",
"inbound_message",
"verified_match"
]
}
},
"required": [
"kind",
"state"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"contactId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"contactId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
contacts.export
{
"id": "contacts.export",
"method": "GET",
"path": "/v1/contacts/{contactId}/export",
"authentication": "bearer required",
"scope": "contacts:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"contactId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"contactId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
contacts.erase
{
"id": "contacts.erase",
"method": "POST",
"path": "/v1/contacts/{contactId}/erase",
"authentication": "bearer required",
"scope": "contacts:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"contactId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"contactId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
channels.list
{
"id": "channels.list",
"method": "GET",
"path": "/v1/channels",
"authentication": "bearer required",
"scope": "channels:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
channels.connect
{
"id": "channels.connect",
"method": "POST",
"path": "/v1/channels",
"authentication": "bearer required",
"scope": "channels:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"slack",
"telegram",
"email",
"whatsapp"
]
},
"address": {
"type": "string",
"minLength": 3,
"maxLength": 320
},
"agentId": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"connectionId": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
{
"type": "null"
}
]
},
"detail": {
"type": "object",
"properties": {
"channel": {
"type": "string",
"maxLength": 200
},
"phoneNumberId": {
"type": "string",
"maxLength": 200
},
"language": {
"type": "string",
"maxLength": 20
},
"approvedTemplates": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 50
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"kind",
"address",
"agentId"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
channels.disconnect
{
"id": "channels.disconnect",
"method": "POST",
"path": "/v1/channels/{channelId}/disconnect",
"authentication": "bearer required",
"scope": "channels:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"channelId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"channelId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
channels.send
{
"id": "channels.send",
"method": "POST",
"path": "/v1/channels/send",
"authentication": "bearer required",
"scope": "channels:send",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"channelId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"contactId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"kind": {
"type": "string",
"enum": [
"slack",
"telegram",
"email",
"whatsapp"
]
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"subject": {
"type": "string",
"maxLength": 200
},
"template": {
"type": "string",
"maxLength": 120
},
"reply": {
"type": "boolean"
},
"takenOver": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.sets.list
{
"id": "evals.sets.list",
"method": "GET",
"path": "/v1/evals/sets",
"authentication": "bearer required",
"scope": "eval:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.sets.create
{
"id": "evals.sets.create",
"method": "POST",
"path": "/v1/evals/sets",
"authentication": "bearer required",
"scope": "eval:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"setId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"version": {
"type": "integer",
"minimum": 1
},
"product": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"recipe": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
{
"type": "null"
}
]
},
"recipeVersion": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
{
"type": "null"
}
]
},
"heldOut": {
"type": "boolean"
}
},
"required": [
"setId",
"version"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.tasks.add
{
"id": "evals.tasks.add",
"method": "POST",
"path": "/v1/evals/sets/{setId}/tasks",
"authentication": "bearer required",
"scope": "eval:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 1
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"taskId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"target": {
"type": "string",
"enum": [
"none",
"site",
"repo",
"supabase"
]
},
"criterion": {
"type": "string",
"enum": [
"check",
"person"
]
},
"check": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
{
"type": "null"
}
]
},
"contentRef": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"contentSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"heldOut": {
"type": "boolean"
}
},
"required": [
"taskId",
"target",
"criterion",
"contentRef",
"contentSha256"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 200
}
},
"required": [
"version",
"tasks"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"setId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
}
},
"required": [
"setId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.tasks.list
{
"id": "evals.tasks.list",
"method": "GET",
"path": "/v1/evals/sets/{setId}/tasks",
"authentication": "bearer required",
"scope": "eval:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"setId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
}
},
"required": [
"setId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"version": {
"type": "string",
"pattern": "^[0-9]{1,9}$"
}
},
"required": [],
"additionalProperties": false
}
}
evals.sets.close
{
"id": "evals.sets.close",
"method": "POST",
"path": "/v1/evals/sets/{setId}/close",
"authentication": "bearer required",
"scope": "eval:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 1
}
},
"required": [
"version"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"setId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
}
},
"required": [
"setId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.run.create
{
"id": "evals.run.create",
"method": "POST",
"path": "/v1/evals/runs",
"authentication": "bearer required",
"scope": "eval:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"setId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"version": {
"type": "integer",
"minimum": 1
},
"product": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"subject": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
{
"type": "null"
}
]
},
"candidate": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
{
"type": "null"
}
]
},
"tier": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"fast",
"deep"
]
},
{
"type": "null"
}
]
},
"runs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"job": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"task_id",
"job"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 200
}
},
"required": [
"setId",
"version",
"runs"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.labels.write
{
"id": "evals.labels.write",
"method": "POST",
"path": "/v1/evals/labels",
"authentication": "bearer required",
"scope": "eval:decide",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"job": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"task": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
{
"type": "null"
}
]
},
"label": {
"type": "string",
"enum": [
"pass",
"fail",
"no_opinion",
"disagree"
]
},
"evidenceRef": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
}
},
"required": [
"job",
"label",
"evidenceRef"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.scorecard
{
"id": "evals.scorecard",
"method": "GET",
"path": "/v1/evals/scorecard",
"authentication": "bearer required",
"scope": "eval:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"set": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"version": {
"type": "string",
"pattern": "^[0-9]{1,9}$"
}
},
"required": [],
"additionalProperties": false
}
}
evals.changes.list
{
"id": "evals.changes.list",
"method": "GET",
"path": "/v1/evals/changes",
"authentication": "bearer required",
"scope": "eval:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.changes.propose
{
"id": "evals.changes.propose",
"method": "POST",
"path": "/v1/evals/changes",
"authentication": "bearer required",
"scope": "eval:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"changeId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"product": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"subject": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"candidate": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"previous": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
{
"type": "null"
}
]
},
"setId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"version": {
"type": "integer",
"minimum": 1
},
"evidenceRef": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
{
"type": "null"
}
]
}
},
"required": [
"changeId",
"subject",
"candidate",
"setId",
"version"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.changes.decide
{
"id": "evals.changes.decide",
"method": "POST",
"path": "/v1/evals/changes/{changeId}/{action}",
"authentication": "bearer required",
"scope": "eval:decide",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"evidenceRef": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"changeId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"action": {
"type": "string",
"pattern": "^(promote|reject|rollback)$"
}
},
"required": [
"changeId",
"action"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.trials.list
{
"id": "evals.trials.list",
"method": "GET",
"path": "/v1/evals/trials",
"authentication": "bearer required",
"scope": "eval:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.trials.create
{
"id": "evals.trials.create",
"method": "POST",
"path": "/v1/evals/trials",
"authentication": "bearer required",
"scope": "eval:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"trialId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"tenant": {
"type": "string",
"pattern": "^[a-z0-9-]{1,40}$"
},
"subject": {
"type": "string",
"pattern": "^recipe:[A-Za-z0-9][A-Za-z0-9_.-]{0,39}$"
},
"incumbent": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"candidate": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"incumbentSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"candidateSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"dimension": {
"type": "string",
"enum": [
"model",
"effort",
"instructions",
"tier",
"tools",
"skills",
"budget",
"route"
]
},
"change": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"measure": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"predictedEffect": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"rollback": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"set": {
"type": "object",
"properties": {
"setId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"version": {
"type": "integer",
"minimum": 1
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"setId",
"version",
"sha256"
],
"additionalProperties": false
},
"evaluator": {
"type": "object",
"properties": {
"version": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
}
},
"required": [
"version"
],
"additionalProperties": false
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"taskId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"taskId",
"sha256"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 200
},
"repetitions": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"requiredHeldOutTasks": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"minimumSample": {
"type": "integer",
"minimum": 2,
"maximum": 100000
},
"mode": {
"type": "string",
"enum": [
"quality_led",
"cost_led"
]
},
"minimumImprovementPoints": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"maxCostIncreasePercent": {
"type": "integer",
"minimum": 0,
"maximum": 10
},
"qualityFloorPoints": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"absoluteBoundMicroUsd": {
"type": "integer",
"minimum": 1,
"maximum": 2000000000000
},
"budgetMicroUsd": {
"type": "integer",
"minimum": 1,
"maximum": 2000000000000
},
"frozen": {
"type": "object",
"properties": {
"model": {
"type": "string",
"maxLength": 160
},
"effort": {
"type": "string",
"maxLength": 160
},
"instructions": {
"type": "string",
"maxLength": 160
},
"tier": {
"type": "string",
"maxLength": 160
},
"tools": {
"type": "string",
"maxLength": 160
},
"skills": {
"type": "string",
"maxLength": 160
},
"budget": {
"type": "string",
"maxLength": 160
},
"route": {
"type": "string",
"maxLength": 160
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"trialId",
"tenant",
"subject",
"incumbent",
"candidate",
"incumbentSha256",
"candidateSha256",
"dimension",
"change",
"measure",
"predictedEffect",
"rollback",
"set",
"evaluator",
"tasks",
"repetitions",
"requiredHeldOutTasks",
"minimumSample",
"mode",
"minimumImprovementPoints",
"budgetMicroUsd",
"frozen"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.trials.settle
{
"id": "evals.trials.settle",
"method": "POST",
"path": "/v1/evals/trials/{trialId}/settle",
"authentication": "bearer required",
"scope": "eval:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"observations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"arm": {
"type": "string",
"enum": [
"incumbent",
"candidate"
]
},
"repetition": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"launchId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"pass": {
"type": "boolean"
},
"costMicroUsd": {
"type": "integer",
"minimum": 0
},
"settled": {
"const": true
},
"heldOut": {
"type": "boolean"
},
"grader": {
"type": "object",
"properties": {
"kind": {
"const": "person"
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 160
}
},
"required": [
"kind",
"id"
],
"additionalProperties": false
},
"corrections": {
"type": "integer",
"minimum": 0,
"maximum": 1000
}
},
"required": [
"task",
"arm",
"repetition",
"launchId",
"pass",
"costMicroUsd",
"settled",
"heldOut",
"grader"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 2000
}
},
"required": [
"observations"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"trialId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
}
},
"required": [
"trialId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
evals.trials.abandon
{
"id": "evals.trials.abandon",
"method": "POST",
"path": "/v1/evals/trials/{trialId}/abandon",
"authentication": "bearer required",
"scope": "eval:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"reason"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"trialId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
}
},
"required": [
"trialId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
improve.setting.get
{
"id": "improve.setting.get",
"method": "GET",
"path": "/v1/improve/setting",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
improve.setting.set
{
"id": "improve.setting.set",
"method": "POST",
"path": "/v1/improve/setting",
"authentication": "bearer required",
"scope": "improve:contribute",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"off",
"on"
]
},
"kinds": {
"type": "array",
"items": {
"type": "string",
"enum": [
"ask",
"criterion",
"result"
]
}
},
"termsVersion": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
]
},
"expectedVersion": {
"type": "integer",
"minimum": 0
}
},
"required": [
"state",
"kinds",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
improve.contributions.list
{
"id": "improve.contributions.list",
"method": "GET",
"path": "/v1/improve/contributions",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
improve.contributions.add
{
"id": "improve.contributions.add",
"method": "POST",
"path": "/v1/improve/contributions",
"authentication": "bearer required",
"scope": "improve:contribute",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"setId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"version": {
"type": "integer",
"minimum": 1
},
"taskId": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"kind": {
"type": "string",
"enum": [
"ask",
"criterion",
"result"
]
},
"sourceUses": {
"type": "string",
"enum": [
"internal",
"public"
]
},
"content": {
"type": "string",
"minLength": 1,
"maxLength": 262144
},
"receiptKind": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"service_credit",
"lower_rate",
"better_recipes"
]
},
{
"type": "null"
}
]
}
},
"required": [
"setId",
"version",
"taskId",
"kind",
"content"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
improve.contributions.revoke
{
"id": "improve.contributions.revoke",
"method": "POST",
"path": "/v1/improve/contributions/{contributionId}/revoke",
"authentication": "bearer required",
"scope": "improve:contribute",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"contributionId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"contributionId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
improve.shared.list
{
"id": "improve.shared.list",
"method": "GET",
"path": "/v1/improve/shared",
"authentication": "bearer required",
"scope": "platform:analyse",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
connections.bind
{
"id": "connections.bind",
"method": "POST",
"path": "/v1/connections/{connector}/bind",
"authentication": "bearer required",
"scope": "connections:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"project": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[A-Za-z0-9._:-]{1,200}$"
},
"key": {
"type": "string",
"minLength": 8,
"maxLength": 4000,
"pattern": "^[\\x21-\\x7e]{8,4000}$"
},
"site": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"role": {
"type": "string",
"minLength": 1,
"maxLength": 63,
"pattern": "^[a-z_][a-z0-9_]{0,62}$"
},
"property": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"const": "service_account"
},
"client_email": {
"type": "string",
"minLength": 3,
"maxLength": 200
},
"private_key": {
"type": "string",
"minLength": 200,
"maxLength": 8000
},
"project_id": {
"type": "string",
"maxLength": 200
},
"private_key_id": {
"type": "string",
"maxLength": 200
},
"client_id": {
"type": "string",
"maxLength": 200
},
"auth_uri": {
"type": "string",
"maxLength": 300
},
"token_uri": {
"type": "string",
"maxLength": 300
},
"auth_provider_x509_cert_url": {
"type": "string",
"maxLength": 300
},
"client_x509_cert_url": {
"type": "string",
"maxLength": 300
},
"universe_domain": {
"type": "string",
"maxLength": 80
},
"credential": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "service_account"
},
"client_email": {
"type": "string",
"minLength": 3,
"maxLength": 200
},
"private_key": {
"type": "string",
"minLength": 200,
"maxLength": 8000
},
"project_id": {
"type": "string",
"maxLength": 200
},
"private_key_id": {
"type": "string",
"maxLength": 200
},
"client_id": {
"type": "string",
"maxLength": 200
},
"auth_uri": {
"type": "string",
"maxLength": 300
},
"token_uri": {
"type": "string",
"maxLength": 300
},
"auth_provider_x509_cert_url": {
"type": "string",
"maxLength": 300
},
"client_x509_cert_url": {
"type": "string",
"maxLength": 300
},
"universe_domain": {
"type": "string",
"maxLength": 80
}
},
"required": [
"type",
"client_email",
"private_key"
],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"connector": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"connector"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
operations.search
{
"id": "operations.search",
"method": "GET",
"path": "/v1/operations/search",
"authentication": "bearer required",
"scope": null,
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [],
"additionalProperties": false
}
}
operations.describe
{
"id": "operations.describe",
"method": "GET",
"path": "/v1/operations/describe/{id}",
"authentication": "bearer required",
"scope": null,
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9]*(?:\\.[a-z0-9]+){0,6}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.changes.list
{
"id": "foundry.changes.list",
"method": "GET",
"path": "/v1/foundry/changes",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"window": {
"type": "string",
"pattern": "^(?:7|14|30)$"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}(?:/[A-Za-z0-9_.-]{1,100})?$"
},
"cursor": {
"type": "string",
"pattern": "^[0-9]{1,12}$"
},
"limit": {
"type": "string",
"pattern": "^(?:[1-9][0-9]?|100)$"
}
},
"required": [],
"additionalProperties": false
}
}
foundry.changes.aggregate
{
"id": "foundry.changes.aggregate",
"method": "GET",
"path": "/v1/foundry/changes/aggregate",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"window": {
"type": "string",
"pattern": "^(?:7|14|30)$"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}(?:/[A-Za-z0-9_.-]{1,100})?$"
}
},
"required": [],
"additionalProperties": false
}
}
foundry.changes.get
{
"id": "foundry.changes.get",
"method": "GET",
"path": "/v1/foundry/changes/{changeId}",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"changeId": {
"type": "string",
"pattern": "^(?:item_[A-Za-z0-9_-]{1,76}|[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[A-Z][A-Z0-9]{0,9}-[0-9]{1,9})$"
}
},
"required": [
"changeId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.reviews.head
{
"id": "foundry.reviews.head",
"method": "GET",
"path": "/v1/foundry/reviews",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"head": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
},
"pull": {
"type": "string",
"pattern": "^[1-9][0-9]{0,6}$"
}
},
"required": [],
"additionalProperties": false
}
}
foundry.items.create
{
"id": "foundry.items.create",
"method": "POST",
"path": "/v1/foundry/items",
"authentication": "bearer required",
"scope": "foundry:write",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"description": {
"type": "string",
"maxLength": 65536
},
"kind": {
"type": "string",
"enum": [
"deliverable",
"outcome"
]
},
"team": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,40}$"
},
"parent": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
},
"labels": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_./:@#+ -]{1,120}$"
},
"maxItems": 50
},
"linearTeamId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"needs": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
},
"maxItems": 16
}
},
"required": [
"title"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.get
{
"id": "foundry.items.get",
"method": "GET",
"path": "/v1/foundry/items/{itemId}",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.list
{
"id": "foundry.items.list",
"method": "GET",
"path": "/v1/foundry/items",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"state": {
"type": "string",
"pattern": "^[a-z_]{1,20}$"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}$"
},
"team": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,40}$"
},
"tier": {
"type": "string",
"enum": [
"T0",
"T1",
"T2",
"T3"
]
},
"scope": {
"type": "string",
"enum": [
"1"
]
},
"cursor": {
"type": "string",
"pattern": "^[0-9]{1,12}$"
},
"limit": {
"type": "string",
"pattern": "^(?:[1-9][0-9]?|100)$"
}
},
"required": [],
"additionalProperties": false
}
}
foundry.items.update
{
"id": "foundry.items.update",
"method": "POST",
"path": "/v1/foundry/items/{itemId}",
"authentication": "bearer required",
"scope": "foundry:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"heading": {
"type": "string",
"pattern": "^[A-Za-z0-9][^\\n]{0,120}$"
},
"body": {
"type": "string",
"minLength": 1,
"maxLength": 65536
}
},
"required": [
"expectedVersion",
"heading",
"body"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.amendscope
{
"id": "foundry.items.amendscope",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/amend-scope",
"authentication": "bearer required",
"scope": "foundry:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"paths": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"path",
"reason"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 50
}
},
"required": [
"expectedVersion",
"paths"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.admit
{
"id": "foundry.items.admit",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/admit",
"authentication": "bearer required",
"scope": "foundry:admit",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"needs": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,63}$"
},
"maxItems": 16
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.review
{
"id": "foundry.items.review",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/review",
"authentication": "bearer required",
"scope": "foundry:review",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"artifact": {
"type": "string",
"minLength": 2,
"maxLength": 262144
},
"job": {
"type": "string",
"pattern": "^review-[A-Za-z0-9_-]{8,200}$"
},
"replay": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.close
{
"id": "foundry.items.close",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/close",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"reviewed": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
"merge": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
"policy": {
"type": "integer",
"minimum": 0
},
"files": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"maxItems": 3000
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.land
{
"id": "foundry.items.land",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/land",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"pr": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}$"
},
"number": {
"type": "integer",
"minimum": 1
},
"base": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"head": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
"files": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"maxItems": 3000
},
"since": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"maxItems": 3000
},
"carried": {
"type": "boolean"
},
"reviewed": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
"plan": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"rounds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^review-[A-Za-z0-9_-]{8,200}$"
},
"maxItems": 200
}
},
"required": [
"repository",
"number",
"base",
"head",
"files"
],
"additionalProperties": false
},
"merge": {
"type": "object",
"properties": {
"sha": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
"head": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
}
},
"required": [
"sha",
"head"
],
"additionalProperties": false
}
},
"required": [
"pr",
"merge"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.reanchor
{
"id": "foundry.items.reanchor",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/reanchor",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"pr": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"minimum": 1
},
"head": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
}
},
"required": [
"number",
"head"
],
"additionalProperties": false
},
"reviewed": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
}
},
"required": [
"pr",
"reviewed"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.effect
{
"id": "foundry.items.effect",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/effect",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"effect": {
"type": "string",
"enum": [
"merge-enqueue",
"merge-ejected",
"merge-retry",
"release-merge",
"release-dispatch",
"rework",
"comment-posted",
"round-not-started",
"closeout-evidence-commit-refused"
]
},
"pr": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"head": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
}
},
"required": [
"head"
],
"additionalProperties": false
},
"checks": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 200
},
"rounds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^review-[A-Za-z0-9_-]{8,200}$"
},
"maxItems": 200
},
"queue": {
"type": "string",
"maxLength": 40
},
"reason": {
"type": "string",
"maxLength": 40
},
"next": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"environment": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"deployment": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"effect",
"pr"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.unread
{
"id": "foundry.items.unread",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/unread",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"code": {
"type": "string",
"enum": [
"connection_missing",
"repository_not_allowed",
"github_access_unavailable",
"github_unread"
]
},
"clear": {
"type": "boolean"
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.rework
{
"id": "foundry.items.rework",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/rework",
"authentication": "bearer required",
"scope": "foundry:admit",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"cause": {
"type": "string",
"enum": [
"fusion-fail",
"ci-red",
"no-review-input",
"conflict_with_main",
"other"
]
},
"head": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
"packet": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"file": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"line": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"severity": {
"anyOf": [
{
"type": "string",
"enum": [
"CRITICAL",
"HIGH"
]
},
{
"type": "null"
}
]
},
"required": {
"anyOf": [
{
"type": "string",
"maxLength": 600
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"maxItems": 40
}
},
"required": [
"reason",
"cause",
"head"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.done
{
"id": "foundry.items.done",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/done",
"authentication": "bearer required",
"scope": "foundry:admit",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.settle
{
"id": "foundry.items.settle",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/settle",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.link
{
"id": "foundry.items.link",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/link",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"issue": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,80}$"
},
"team": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,40}$"
}
},
"required": [
"issue",
"team"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.items.cancel
{
"id": "foundry.items.cancel",
"method": "POST",
"path": "/v1/foundry/items/{itemId}/cancel",
"authentication": "bearer required",
"scope": "foundry:admit",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
},
"required": [
"reason"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
}
},
"required": [
"itemId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.findings.report
{
"id": "foundry.findings.report",
"method": "POST",
"path": "/v1/foundry/findings",
"authentication": "bearer required",
"scope": "foundry:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"sentinel",
"platform",
"agentos",
"brainos",
"foundryos",
"marketingos",
"launchos",
"financeos"
]
},
"code": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,100}$"
},
"ref": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"item": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
},
"severity": {
"type": "string",
"enum": [
"S0",
"S1",
"S2",
"S3"
]
}
},
"required": [
"source",
"code",
"ref"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.decisions.list
{
"id": "foundry.decisions.list",
"method": "GET",
"path": "/v1/foundry/decisions",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"cursor": {
"type": "string",
"pattern": "^[0-9]{1,12}$"
},
"limit": {
"type": "string",
"pattern": "^(?:[1-9][0-9]?|100)$"
}
},
"required": [],
"additionalProperties": false
}
}
foundry.decisions.answer
{
"id": "foundry.decisions.answer",
"method": "POST",
"path": "/v1/foundry/decisions/{decisionId}/answer",
"authentication": "bearer required",
"scope": "foundry:decide",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"answer": {
"type": "string",
"enum": [
"approve",
"reject"
]
}
},
"required": [
"answer"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"decisionId": {
"type": "string",
"pattern": "^dec_[0-9]{1,12}$"
}
},
"required": [
"decisionId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.policy.get
{
"id": "foundry.policy.get",
"method": "GET",
"path": "/v1/foundry/policy",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.policy.set
{
"id": "foundry.policy.set",
"method": "POST",
"path": "/v1/foundry/policy",
"authentication": "bearer required",
"scope": "foundry:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"policy": {
"type": "object",
"properties": {
"tenant": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"teams": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"repositories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"defaultBranch": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"startLanes": {
"type": "integer",
"minimum": 1,
"maximum": 512
},
"surfaces": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"class": {
"type": "string",
"enum": [
"product",
"factory",
"infrastructure"
]
},
"frontEnd": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"agent": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"handedTo": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"roundCeiling": {
"type": "integer",
"minimum": 1,
"maximum": 12
},
"conflictGroups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"paths": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
}
},
"required": [
"name",
"paths"
],
"additionalProperties": false
},
"maxItems": 500
},
"deployTargets": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
}
},
"required": [
"key",
"owner"
],
"additionalProperties": false
},
"maxItems": 500
},
"areas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"repositories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"key",
"repositories",
"description"
],
"additionalProperties": false
},
"maxItems": 500
},
"notifications": {
"type": "object",
"properties": {
"slack": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"workspace": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"channel": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"events": {
"type": "array",
"items": {
"type": "string",
"enum": [
"pickup",
"done"
]
},
"maxItems": 500
},
"linearWorkspace": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [],
"additionalProperties": false
},
"decisions": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"workspace": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"channel": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"warRoom": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"channel": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"mention": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"roadmap": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"paths": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"refreshSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 3600
},
"progress": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [],
"additionalProperties": false
},
"linear": {
"type": "object",
"properties": {
"mirrorStates": {
"type": "boolean"
},
"verifyTimeoutMs": {
"type": "integer",
"minimum": 1,
"maximum": 120000
},
"verifyRetries": {
"type": "integer",
"minimum": 0,
"maximum": 3
},
"verifySkipMs": {
"type": "integer",
"minimum": 0,
"maximum": 3600000
},
"intakeRetryMaxMs": {
"type": "integer",
"minimum": 60000,
"maximum": 3600000
},
"claimFreshnessMs": {
"type": "integer",
"minimum": 0,
"maximum": 3600000
},
"outboxBatchSize": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"outboxFailedRetryMs": {
"type": "integer",
"minimum": 60000,
"maximum": 86400000
},
"outboxFailedAttempts": {
"type": "integer",
"minimum": 0,
"maximum": 10
}
},
"required": [],
"additionalProperties": false
},
"workers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"kind": {
"type": "string",
"enum": [
"lane",
"outside"
]
},
"teams": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"repositories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"capabilities": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"capacity": {
"type": "integer",
"minimum": 1,
"maximum": 512
},
"key": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"id"
],
"additionalProperties": false
},
"maxItems": 500
},
"routing": {
"type": "object",
"properties": {
"classes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"defaultClass": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"classAgents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"class": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"agent": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"class",
"agent"
],
"additionalProperties": false
},
"maxItems": 500
},
"buildPool": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"factoryTeams": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"maxRepositorySegments": {
"type": "integer",
"minimum": 1,
"maximum": 8
},
"routeGraceSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"areaOrder": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"pathIndexMax": {
"type": "integer",
"minimum": 100,
"maximum": 1000000
},
"areaDecision": {
"type": "object",
"properties": {
"model": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"minConfidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"confinedMin": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"evidenceMaxChars": {
"type": "integer",
"minimum": 256,
"maximum": 1048576
}
},
"required": [
"model",
"minConfidence",
"confinedMin",
"evidenceMaxChars"
],
"additionalProperties": false
},
"unsorted": {
"type": "object",
"properties": {
"marker": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"autoRuleSweeps": {
"type": "integer",
"minimum": 0,
"maximum": 20
},
"sweepSpacingSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
}
},
"required": [],
"additionalProperties": false
},
"duplicates": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"off",
"observe",
"commit"
]
},
"collector": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"teams": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
}
},
"required": [],
"additionalProperties": false
},
"capabilityMap": {
"type": "object",
"properties": {
"schemas": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"repository": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"codes": {
"type": "object",
"properties": {
"unreadable": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"invalid": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"declarationRequired": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"extensionRequired": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"unreadable",
"invalid",
"declarationRequired",
"extensionRequired"
],
"additionalProperties": false
},
"missing": {
"type": "object",
"properties": {
"declaration": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"extension": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"declaration",
"extension"
],
"additionalProperties": false
},
"duplicate": {
"type": "object",
"properties": {
"minShared": {
"type": "integer",
"minimum": 1,
"maximum": 64
},
"minDice": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"minShared",
"minDice"
],
"additionalProperties": false
},
"draft": {
"type": "object",
"properties": {
"minShared": {
"type": "integer",
"minimum": 1,
"maximum": 64
},
"limits": {
"type": "object",
"properties": {
"functions": {
"type": "integer",
"minimum": 1,
"maximum": 32
},
"tables": {
"type": "integer",
"minimum": 1,
"maximum": 32
},
"pages": {
"type": "integer",
"minimum": 1,
"maximum": 32
}
},
"required": [
"functions",
"tables",
"pages"
],
"additionalProperties": false
}
},
"required": [
"minShared",
"limits"
],
"additionalProperties": false
}
},
"required": [
"schemas",
"path",
"repository",
"codes",
"missing",
"duplicate",
"draft"
],
"additionalProperties": false
},
"authority": {
"type": "object",
"properties": {
"agents": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"runPropertyAgents": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
}
},
"required": [
"agents",
"runPropertyAgents"
],
"additionalProperties": false
},
"fleetCapability": {
"type": "object",
"properties": {
"skip": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"rootCause": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"fallbackOwner": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"settingPrefix": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"skip",
"rootCause",
"fallbackOwner",
"settingPrefix"
],
"additionalProperties": false
},
"laneCapability": {
"type": "object",
"properties": {
"rootCause": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"dedupePrefix": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"resumeCondition": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"rootCause",
"dedupePrefix",
"resumeCondition"
],
"additionalProperties": false
},
"keeper": {
"type": "object",
"properties": {
"releaseReloadAsk": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"requiredChecks": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"outageWords": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"releaseReloadAsk",
"requiredChecks",
"outageWords"
],
"additionalProperties": false
},
"mediaKernel": {
"type": "object",
"properties": {
"humanAuthorityFraming": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"humanAuthorityFraming"
],
"additionalProperties": false
},
"escalation": {
"type": "object",
"properties": {
"teams": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"ownerOnly": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"delegate": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"teams",
"ownerOnly"
],
"additionalProperties": false
},
"excluded": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"repositoryAgents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"agent": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"repository",
"agent"
],
"additionalProperties": false
},
"maxItems": 500
}
},
"required": [],
"additionalProperties": false
},
"capacity": {
"type": "object",
"properties": {
"windowSeconds": {
"type": "integer",
"minimum": 300,
"maximum": 86400
},
"cooldownSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 604800
},
"runnerBusyMaxPercent": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"verificationP95MaxSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"target": {
"type": "integer",
"minimum": 1,
"maximum": 3750
}
},
"required": [],
"additionalProperties": false
},
"budget": {
"type": "object",
"properties": {
"ticket": {
"type": "object",
"properties": {
"T0": {
"type": "object",
"properties": {
"tokens": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"costUsd": {
"type": "number",
"minimum": 0,
"maximum": 1000000
}
},
"required": [],
"additionalProperties": false
},
"T1": {
"type": "object",
"properties": {
"tokens": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"costUsd": {
"type": "number",
"minimum": 0,
"maximum": 1000000
}
},
"required": [],
"additionalProperties": false
},
"T2": {
"type": "object",
"properties": {
"tokens": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"costUsd": {
"type": "number",
"minimum": 0,
"maximum": 1000000
}
},
"required": [],
"additionalProperties": false
},
"T3": {
"type": "object",
"properties": {
"tokens": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"costUsd": {
"type": "number",
"minimum": 0,
"maximum": 1000000
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"laneDailyUsd": {
"type": "number",
"minimum": 0,
"maximum": 1000000
},
"fleetDailyUsd": {
"type": "number",
"minimum": 0,
"maximum": 1000000
}
},
"required": [],
"additionalProperties": false
},
"timings": {
"type": "object",
"properties": {
"leaseSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 21600
},
"heartbeatSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"leaseStaleSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 600
},
"autoReleaseGraceSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 3600
},
"progressStaleSeconds": {
"type": "integer",
"minimum": 300,
"maximum": 21600
},
"rescindGraceSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 180
},
"strandedSeconds": {
"type": "integer",
"minimum": 300,
"maximum": 21600
},
"pendingBindSeconds": {
"type": "integer",
"minimum": 10,
"maximum": 600
},
"tickGapGraceSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 900
},
"declaredWaitMinSeconds": {
"type": "integer",
"minimum": 1,
"maximum": 3600
},
"declaredWaitMaxSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 21600
},
"pathStarvationSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
}
},
"required": [],
"additionalProperties": false
},
"recovery": {
"type": "object",
"properties": {
"zeroProgressLimit": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"resumeWithoutProgress": {
"type": "integer",
"minimum": 0,
"maximum": 10
}
},
"required": [],
"additionalProperties": false
},
"deadlines": {
"type": "object",
"properties": {
"triage": {
"type": "integer",
"minimum": 60,
"maximum": 604800
},
"backlog": {
"type": "integer",
"minimum": 3600,
"maximum": 2592000
},
"todo": {
"type": "integer",
"minimum": 60,
"maximum": 2592000
},
"review": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"landing": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"verifying": {
"type": "integer",
"minimum": 60,
"maximum": 604800
},
"decision": {
"type": "integer",
"minimum": 3600,
"maximum": 2592000
}
},
"required": [],
"additionalProperties": false
},
"waits": {
"type": "object",
"properties": {
"maxAgeSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 7776000
},
"ciMaxHoldSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"deployPendingMaxSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"deployHoldMaxSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 604800
},
"deployHoldAheadMaxSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 604800
},
"observationMaxSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 604800
},
"measurementMaxSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 7776000
},
"specMaxSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"windowMaxAheadSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 7776000
},
"commandObservationMs": {
"type": "integer",
"minimum": 1000,
"maximum": 600000
}
},
"required": [],
"additionalProperties": false
},
"review": {
"type": "object",
"properties": {
"gateAMaxAgeDays": {
"type": "integer",
"minimum": 1,
"maximum": 90
},
"gateBMaxAgeHours": {
"type": "integer",
"minimum": 1,
"maximum": 720
},
"panelRouteConcurrency": {
"type": "integer",
"minimum": 0,
"maximum": 16
},
"clockSkewSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"autoStart": {
"type": "boolean"
},
"autoMerge": {
"type": "boolean"
},
"deployOnLand": {
"type": "boolean"
},
"updateBehind": {
"type": "boolean"
},
"publishFailBlockers": {
"type": "boolean"
},
"reworkOnFail": {
"type": "boolean"
},
"regateFailedHead": {
"type": "boolean"
},
"reworkLaneGraceSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"standaloneMerge": {
"type": "boolean"
},
"standaloneSweepSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"standaloneRepositories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"standaloneDrafts": {
"type": "string",
"enum": [
"refuse",
"merge"
]
},
"carryForward": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"requireDisjointPaths": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"merge": {
"type": "object",
"properties": {
"autoUpdateBranch": {
"type": "boolean"
},
"batch": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"maxSize": {
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"source": {
"type": "object",
"properties": {
"lineCeiling": {
"type": "integer",
"minimum": 1,
"maximum": 100000000
}
},
"required": [],
"additionalProperties": false
},
"ticketClose": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"titleCloses": {
"type": "boolean"
},
"branchCloses": {
"type": "boolean"
},
"mentionVeto": {
"type": "boolean"
},
"lookbackSeconds": {
"type": "integer",
"minimum": 3600,
"maximum": 2592000
},
"teams": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"closing": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"mentioning": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
}
},
"required": [],
"additionalProperties": false
},
"scheduler": {
"type": "object",
"properties": {
"tickSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"alarmFloorSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"rebaseAsksPerTick": {
"type": "integer",
"minimum": 0,
"maximum": 50
},
"laneParallel": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"laneRunMinutes": {
"type": "integer",
"minimum": 15,
"maximum": 4320
},
"laneHost": {
"type": "object",
"properties": {
"cpus": {
"type": "integer",
"minimum": 1,
"maximum": 4096
},
"memoryMb": {
"type": "integer",
"minimum": 256,
"maximum": 16777216
},
"cpuPerLane": {
"type": "integer",
"minimum": 1,
"maximum": 1024
},
"memoryMbPerLane": {
"type": "integer",
"minimum": 64,
"maximum": 1048576
},
"maxLanes": {
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"laneModels": {
"type": "object",
"properties": {
"default": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"T0": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"T1": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"T2": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"T3": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
}
},
"required": [],
"additionalProperties": false
},
"closeout": {
"type": "object",
"properties": {
"intervalSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"budgetMs": {
"type": "integer",
"minimum": 0,
"maximum": 300000
},
"backoffCap": {
"type": "integer",
"minimum": 0,
"maximum": 32
},
"compareFiles": {
"type": "integer",
"minimum": 1,
"maximum": 300
},
"rounds": {
"type": "integer",
"minimum": 1,
"maximum": 10000
},
"roundAsks": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"roundSettleSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"readAttempts": {
"type": "integer",
"minimum": 1,
"maximum": 20
},
"readPauseMs": {
"type": "integer",
"minimum": 0,
"maximum": 60000
},
"landWalk": {
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [],
"additionalProperties": false
},
"pipeline": {
"type": "object",
"properties": {
"fileCapBytes": {
"type": "integer",
"minimum": 1024,
"maximum": 262144
},
"transientAsks": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"permanent": {
"type": "array",
"items": {
"type": "string",
"enum": [
"size-cap",
"docs-only",
"ci-not-green",
"gate-not-owed"
]
},
"maxItems": 500
}
},
"required": [],
"additionalProperties": false
},
"asks": {
"type": "object",
"properties": {
"premiseMaxAgeSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 2592000
},
"sweepLimit": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"digestMaxRows": {
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"required": [],
"additionalProperties": false
},
"reconcile": {
"type": "object",
"properties": {
"sweep": {
"type": "object",
"properties": {
"intervalSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"staleFactor": {
"type": "integer",
"minimum": 2,
"maximum": 4
},
"staleMaxSeconds": {
"type": "integer",
"minimum": 3600,
"maximum": 86400
},
"cadenceSamples": {
"type": "integer",
"minimum": 2,
"maximum": 32
},
"readsPerPass": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"actionsPerPass": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"passBudgetMs": {
"type": "integer",
"minimum": 1000,
"maximum": 300000
}
},
"required": [],
"additionalProperties": false
},
"branch": {
"type": "object",
"properties": {
"candidatesPerPass": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"actionsPerPass": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"archivePrefix": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [],
"additionalProperties": false
},
"pullRequest": {
"type": "object",
"properties": {
"ageSeconds": {
"type": "integer",
"minimum": 3600,
"maximum": 604800
},
"abandonedAfterSeconds": {
"type": "integer",
"minimum": 3600,
"maximum": 2592000
},
"rereadSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"idleSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 604800
},
"staleSeconds": {
"type": "integer",
"minimum": 3600,
"maximum": 604800
},
"carryDays": {
"type": "integer",
"minimum": 1,
"maximum": 30
},
"heldWorkDays": {
"type": "integer",
"minimum": 1,
"maximum": 60
}
},
"required": [],
"additionalProperties": false
},
"review": {
"type": "object",
"properties": {
"windowSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"reobserveSeconds": {
"type": "integer",
"minimum": 30,
"maximum": 86400
},
"maxObservations": {
"type": "integer",
"minimum": 1,
"maximum": 64
},
"maxNewPulls": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"attemptWindowSeconds": {
"type": "integer",
"minimum": 3600,
"maximum": 604800
},
"maxAttempts": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"attemptTiers": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
}
},
"required": [],
"additionalProperties": false
},
"deploy": {
"type": "object",
"properties": {
"windowSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"graceSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"hardCapSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"mergeCapSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"maxCommits": {
"type": "integer",
"minimum": 1,
"maximum": 500
},
"maxMerges": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"driftThresholdSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
}
},
"required": [],
"additionalProperties": false
},
"hold": {
"type": "object",
"properties": {
"wholeRepoMaxHoldSeconds": {
"type": "integer",
"minimum": 300,
"maximum": 7200
},
"waiterObservedSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 7200
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"admission": {
"type": "object",
"properties": {
"humanOnly": {
"type": "boolean"
},
"requireExecutionWeight": {
"type": "boolean"
},
"mode": {
"type": "string",
"enum": [
"manual",
"auto"
]
},
"auto": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"team": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"repositories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"sources": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"maxTier": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"tiers": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"gates": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"linearBacklog": {
"type": "boolean"
},
"holdLabels": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
}
},
"required": [
"id",
"version",
"team",
"repositories",
"sources"
],
"additionalProperties": false
},
"maxItems": 500
}
},
"required": [],
"additionalProperties": false
},
"landing": {
"type": "object",
"properties": {
"humanApprovalTiers": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
}
},
"required": [],
"additionalProperties": false
},
"sentinel": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"off",
"observe",
"commit"
]
},
"triggers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"recipe": {
"type": "string",
"enum": [
"merge-review",
"code-reread",
"improvement-cycle",
"spec-planning",
"spec-writer"
]
},
"kind": {
"type": "string",
"enum": [
"clock",
"event",
"manual"
]
},
"at": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"event": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"recipe",
"kind"
],
"additionalProperties": false
},
"maxItems": 500
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"recipe": {
"type": "string",
"enum": [
"merge-review",
"code-reread",
"improvement-cycle",
"spec-planning",
"spec-writer"
]
},
"dailyUsd": {
"type": "number",
"minimum": 0,
"maximum": 1000000
}
},
"required": [],
"additionalProperties": false
},
"maxItems": 500
}
},
"required": [],
"additionalProperties": false
},
"improvement": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"off",
"observe",
"commit"
]
},
"windowSeconds": {
"type": "integer",
"minimum": 3600,
"maximum": 2592000
},
"remeasureAfterSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 2592000
},
"daySeconds": {
"type": "integer",
"minimum": 1,
"maximum": 2592000
},
"rescuesAt": {
"type": "integer",
"minimum": 2,
"maximum": 1000
},
"refusalsAt": {
"type": "integer",
"minimum": 2,
"maximum": 100000
},
"dailyTickets": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"linearTeamId": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"findingsAt": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"route": {
"type": "object",
"properties": {
"team": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"repository": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"area": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"tier": {
"type": "string",
"enum": [
"T0",
"T1",
"T2"
]
}
},
"required": [
"team",
"repository"
],
"additionalProperties": false
}
},
"required": [
"mode",
"windowSeconds",
"rescuesAt",
"refusalsAt",
"dailyTickets"
],
"additionalProperties": false
},
"privileged": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"off",
"observe",
"commit"
]
},
"approvalSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"workflows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"kind": {
"type": "string",
"enum": [
"deploy"
]
},
"repository": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"environment": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"ref": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"id",
"kind",
"repository",
"environment",
"ref"
],
"additionalProperties": false
},
"maxItems": 500
}
},
"required": [
"mode",
"approvalSeconds",
"workflows"
],
"additionalProperties": false
},
"credentials": {
"type": "object",
"properties": {
"capability": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [],
"additionalProperties": false
},
"releaseGate": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"off",
"observe",
"enforce"
]
},
"enforce": {
"type": "boolean"
},
"requiredContexts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"contexts": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
}
},
"required": [
"repository",
"contexts"
],
"additionalProperties": false
},
"maxItems": 500
},
"deployReadback": {
"type": "array",
"items": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"proved": {
"type": "boolean"
}
},
"required": [
"repository",
"proved"
],
"additionalProperties": false
},
"maxItems": 500
},
"liveRunRepositories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"recordSources": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"advisoryChecks": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"ignoredChecks": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"maxItems": 500
},
"outcomeEvidence": {
"type": "string",
"enum": [
"per-outcome",
"release-receipt"
]
},
"bounds": {
"type": "object",
"properties": {
"USER_AGENT": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"MIN_CONTEXT_OBSERVATIONS": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"MAX_DEPLOYMENTS": {
"type": "integer",
"minimum": 1,
"maximum": 500
},
"DEPLOYMENT_PAGE_SIZE": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"MAX_DEPLOYMENT_PAGES": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"MAX_DEPLOYMENT_CANDIDATES": {
"type": "integer",
"minimum": 1,
"maximum": 500
},
"PULL_REQUEST_FILE_PAGE_SIZE": {
"type": "integer",
"minimum": 1,
"maximum": 300
},
"MAX_PULL_REQUEST_FILE_PAGES": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"MAX_PULL_REQUEST_COMMIT_PAGES": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"MAX_JOB_LOG_BYTES": {
"type": "integer",
"minimum": 1024,
"maximum": 104857600
},
"MAX_TRUST_PROBE_RECORDS": {
"type": "integer",
"minimum": 1,
"maximum": 2000
},
"MAX_ARTIFACT_BYTES": {
"type": "integer",
"minimum": 1024,
"maximum": 104857600
},
"MAX_SCREENSHOTS_ATTACHED": {
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [],
"additionalProperties": false
},
"close": {
"type": "object",
"properties": {
"CLOSE_DELIVERED_PROOF_MAX_AGE_MS": {
"type": "integer",
"minimum": 60000,
"maximum": 2592000000
},
"RECEIPT_FRESHNESS_MS": {
"type": "integer",
"minimum": 60000,
"maximum": 604800000
},
"POLICY_RECEIPT_STALE_MS": {
"type": "integer",
"minimum": 60000,
"maximum": 86400000
},
"SHIPPED_PROBE_TTL_MS": {
"type": "integer",
"minimum": 60000,
"maximum": 604800000
},
"SHIPPED_MIN_BUDGET_MS": {
"type": "integer",
"minimum": 0,
"maximum": 86400000
},
"EVIDENCE_CLOCK_SKEW_TOLERANCE_MS": {
"type": "integer",
"minimum": 0,
"maximum": 3600000
},
"CLOSEOUT_STATE_BLOCK_TTL_SECONDS": {
"type": "integer",
"minimum": 30,
"maximum": 3600
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"sourceLines": {
"type": "object",
"properties": {
"warnAt": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"expectedVersion",
"policy"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.control.pause
{
"id": "foundry.control.pause",
"method": "POST",
"path": "/v1/foundry/control/pause",
"authentication": "bearer required",
"scope": "foundry:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"tenant",
"repository",
"worker"
]
},
"ref": {
"type": "string",
"pattern": "^[A-Za-z0-9_./-]{1,100}$"
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"condition": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"expires_at",
"target_terminal"
]
},
"at": {
"type": "string",
"format": "date-time"
},
"issue": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"kind"
],
"additionalProperties": false
}
},
"required": [
"scope",
"reason"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.control.resume
{
"id": "foundry.control.resume",
"method": "POST",
"path": "/v1/foundry/control/resume",
"authentication": "bearer required",
"scope": "foundry:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"tenant",
"repository",
"worker"
]
},
"ref": {
"type": "string",
"pattern": "^[A-Za-z0-9_./-]{1,100}$"
}
},
"required": [
"scope"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.overview.get
{
"id": "foundry.overview.get",
"method": "GET",
"path": "/v1/foundry/overview",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.outbox.list
{
"id": "foundry.outbox.list",
"method": "GET",
"path": "/v1/foundry/outbox",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.roadmap.get
{
"id": "foundry.roadmap.get",
"method": "GET",
"path": "/v1/foundry/roadmap",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"snapshot": {
"type": "string",
"maxLength": 80
},
"area": {
"type": "string",
"maxLength": 120
},
"milestone": {
"type": "string",
"maxLength": 120
},
"target": {
"type": "string",
"pattern": "^(?:100|[1-9]?[0-9])$"
},
"basis": {
"type": "string",
"enum": [
"recorded",
"verified"
]
}
},
"required": [],
"additionalProperties": false
}
}
foundry.roadmap.configure
{
"id": "foundry.roadmap.configure",
"method": "POST",
"path": "/v1/foundry/roadmap",
"authentication": "bearer required",
"scope": "foundry:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"action": {
"type": "string",
"enum": [
"bind",
"import",
"add-outcome",
"rename",
"checks",
"spec",
"map",
"edges",
"ingest",
"reconcile",
"rollback",
"source",
"revoke",
"file"
]
},
"authority": {
"type": "string",
"enum": [
"github",
"brain",
"recorded"
]
},
"source": {
"type": "string",
"maxLength": 300
},
"sourceId": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"repository": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"defaultBranch": {
"type": "string",
"maxLength": 120
},
"linearTeam": {
"type": "string",
"maxLength": 40
},
"linearTeamId": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"progress": {
"type": "string",
"enum": [
"rows",
"tickets"
]
},
"areas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"name": {
"type": "string",
"maxLength": 500
},
"sharedGate": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 500
},
"ref": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"required": [
"label"
],
"additionalProperties": false
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"maxItems": 40
},
"markdown": {
"type": "string",
"maxLength": 200000
},
"accept": {
"type": "boolean"
},
"mirror": {
"type": "boolean"
},
"recorded": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"name": {
"type": "string",
"maxLength": 500
},
"sharedGate": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 500
},
"ref": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"required": [
"label"
],
"additionalProperties": false
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 500
},
"ships": {
"type": "string",
"maxLength": 500
},
"state": {
"type": "string",
"maxLength": 40
},
"owed": {
"type": "string",
"maxLength": 4000
},
"tickets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40
},
"maxItems": 40
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300
},
"maxItems": 20
}
},
"required": [
"name",
"state"
],
"additionalProperties": false
},
"maxItems": 200
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"maxItems": 20
},
"outcome": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"name": {
"type": "string",
"maxLength": 500
},
"added": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"area": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"name": {
"type": "string",
"maxLength": 500
},
"milestone": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"required": [
"id",
"area",
"name"
],
"additionalProperties": false
},
"checks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"name": {
"type": "string",
"maxLength": 500
},
"proof": {
"type": "string",
"maxLength": 80
},
"target": {
"type": "string",
"maxLength": 120
},
"owner": {
"type": "string",
"maxLength": 120
}
},
"required": [
"id"
],
"additionalProperties": false
},
"maxItems": 40
},
"requirements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"outcome": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 80
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
},
"maxItems": 200
},
"claim": {
"type": "object",
"properties": {
"outcome": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"unmet": {
"type": "boolean"
}
},
"required": [
"outcome"
],
"additionalProperties": false
},
"ticket": {
"type": "string",
"maxLength": 40
},
"role": {
"type": "string",
"enum": [
"parent",
"ticket"
]
},
"edges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"maxLength": 40
},
"to": {
"type": "string",
"maxLength": 40
},
"kind": {
"type": "string",
"enum": [
"blocks",
"related"
]
}
},
"required": [
"from",
"to",
"kind"
],
"additionalProperties": false
},
"maxItems": 200
},
"deliveryId": {
"type": "string",
"maxLength": 120
},
"at": {
"type": "string",
"format": "date-time"
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 40
},
"status": {
"type": "string",
"maxLength": 40
},
"title": {
"type": "string",
"maxLength": 500
},
"url": {
"type": "string",
"maxLength": 2000
},
"assignee": {
"type": "string",
"maxLength": 120
},
"uuid": {
"type": "string",
"maxLength": 80
}
},
"required": [
"key"
],
"additionalProperties": false
},
"maxItems": 200
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"outcome": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"check": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"pass": {
"type": "boolean"
},
"sha": {
"type": "string",
"maxLength": 64
},
"branch": {
"type": "string",
"maxLength": 120
},
"release": {
"type": "string",
"maxLength": 120
},
"target": {
"type": "string",
"maxLength": 120
},
"receipt": {
"type": "string",
"maxLength": 200
},
"waiver": {
"type": "object",
"properties": {
"by": {
"type": "string",
"maxLength": 500
},
"at": {
"type": "string",
"format": "date-time"
},
"scope": {
"type": "string",
"maxLength": 500
}
},
"required": [
"by"
],
"additionalProperties": false
}
},
"required": [
"outcome",
"check"
],
"additionalProperties": false
},
"maxItems": 80
},
"release": {
"type": "string",
"maxLength": 120
},
"outcomes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"maxItems": 40
},
"ok": {
"type": "boolean"
},
"error": {
"type": "string",
"maxLength": 500
},
"hide": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"maxItems": 40
},
"title": {
"type": "string",
"maxLength": 500
},
"description": {
"type": "string",
"maxLength": 8000
}
},
"required": [
"expectedVersion",
"action"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.events.list
{
"id": "foundry.events.list",
"method": "GET",
"path": "/v1/foundry/events",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"item": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
},
"cursor": {
"type": "string",
"pattern": "^[0-9]{1,12}$"
},
"limit": {
"type": "string",
"pattern": "^(?:[1-9][0-9]?|100)$"
}
},
"required": [],
"additionalProperties": false
}
}
foundry.pipeline.timings
{
"id": "foundry.pipeline.timings",
"method": "GET",
"path": "/v1/foundry/pipeline-timings",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"since": {
"type": "string",
"pattern": "^(?:[1-9][0-9]{0,4}[hdw]|\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{3})?Z)$"
}
},
"required": [],
"additionalProperties": false
}
}
foundry.rules.get
{
"id": "foundry.rules.get",
"method": "GET",
"path": "/v1/foundry/rules",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.work.claim
{
"id": "foundry.work.claim",
"method": "POST",
"path": "/v1/foundry/work/claim",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"run": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]{1,120}$"
},
"item": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
},
"recover": {
"type": "boolean"
}
},
"required": [
"run"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.work.heartbeat
{
"id": "foundry.work.heartbeat",
"method": "POST",
"path": "/v1/foundry/work/{lease}/heartbeat",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"run": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]{1,120}$"
}
},
"required": [
"run"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"lease": {
"type": "string",
"pattern": "^lease_[0-9]{1,12}$"
}
},
"required": [
"lease"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.work.get
{
"id": "foundry.work.get",
"method": "GET",
"path": "/v1/foundry/work/{lease}",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"lease": {
"type": "string",
"pattern": "^lease_[0-9]{1,12}$"
}
},
"required": [
"lease"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.work.checkpoint
{
"id": "foundry.work.checkpoint",
"method": "POST",
"path": "/v1/foundry/work/{lease}/checkpoint",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"run": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]{1,120}$"
},
"head": {
"type": "string",
"pattern": "^[a-f0-9]{7,40}$"
},
"wait": {
"type": "object",
"properties": {
"declaredKind": {
"type": "string",
"enum": [
"fusion_panel",
"ci",
"build",
"other"
]
},
"until": {
"type": "string",
"format": "date-time"
}
},
"required": [
"declaredKind",
"until"
],
"additionalProperties": false
},
"model": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._:/-]{0,119}$"
},
"tries": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pr": {
"type": "object",
"properties": {
"url": {
"type": "string",
"pattern": "^https://github\\.com/[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+/pull/[0-9]{1,10}$"
},
"number": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
}
},
"required": [
"url"
],
"additionalProperties": false
}
},
"required": [
"run"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"lease": {
"type": "string",
"pattern": "^lease_[0-9]{1,12}$"
}
},
"required": [
"lease"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.work.submit
{
"id": "foundry.work.submit",
"method": "POST",
"path": "/v1/foundry/work/{lease}/submit",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"run": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]{1,120}$"
},
"head": {
"type": "string",
"pattern": "^[a-f0-9]{7,40}$"
},
"usage": {
"type": "object",
"properties": {
"tokens": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"costUsd": {
"type": "number",
"minimum": 0,
"maximum": 1000000
},
"inputTokens": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"outputTokens": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"tokens",
"costUsd"
],
"additionalProperties": false
},
"pr": {
"type": "object",
"properties": {
"url": {
"type": "string",
"pattern": "^https://github\\.com/[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+/pull/[0-9]{1,10}$"
},
"number": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
}
},
"required": [
"url"
],
"additionalProperties": false
},
"diff": {
"type": "string",
"maxLength": 8000
},
"acceptance": {
"type": "string",
"maxLength": 4000
},
"answers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$",
"maxLength": 160
},
"disposition": {
"type": "string",
"enum": [
"fixed",
"answered"
]
},
"note": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"id",
"disposition",
"note"
],
"additionalProperties": false
},
"maxItems": 128
},
"resolutions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$",
"maxLength": 160
},
"note": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"id",
"note"
],
"additionalProperties": false
},
"maxItems": 512
}
},
"required": [
"run",
"head"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"lease": {
"type": "string",
"pattern": "^lease_[0-9]{1,12}$"
}
},
"required": [
"lease"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.work.ask
{
"id": "foundry.work.ask",
"method": "POST",
"path": "/v1/foundry/work/{lease}/ask",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"run": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]{1,120}$"
},
"cls": {
"type": "string",
"enum": [
"admission",
"t3-approval",
"destructive-data-mutation",
"credential-rotation",
"tenant-wide-write",
"external-send",
"review-round-ceiling",
"ticket-budget-overrun",
"unlisted-failure",
"dependency",
"missing-dependency",
"blocked-prerequisite",
"prerequisite-blocked",
"wait-expired",
"qualification-stalled",
"unclaimable",
"verification-stalled",
"round-not-started",
"review-not-startable",
"preflight-unavailable",
"blocked",
"credential",
"external-authorization",
"client-approval",
"approval",
"payment",
"owner-credential",
"client-facing-go",
"security",
"route-absence",
"release-hold",
"keeper-hold",
"admission-repair",
"capability-map",
"credential-intake",
"repository-access",
"sentinel-not-qualified",
"sentinel-publication-parked",
"spec-plan-terminal",
"spec-planner",
"dependency-canceled",
"digest",
"spec-timeout",
"review-rounds-cap",
"review-stall-owner",
"review-verdict-operator",
"review-verdict-rearm",
"release-coverage-gap",
"closeout-replay",
"closeout-evidence-commit",
"guarded-rollback",
"deployment-records-removed",
"rollback-incompatible-data",
"zero-progress-exhausted",
"duplicate-disposition",
"duplicate-identity",
"duplicate-release-anchor",
"repository-not-connected",
"linear-connection",
"linear-credential",
"linear-description-append",
"linear-install-bad-response",
"linear-install-client",
"linear-install-permission",
"linear-outbox-readback",
"linear-team",
"linear-write-field",
"other"
]
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"dependencyItems": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
},
"minItems": 1,
"maxItems": 32
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"store": {
"type": "string",
"pattern": "^[a-z][a-z0-9._-]{0,60}$"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"store",
"id",
"sha256"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 8
},
"dedupeKey": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"owner": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"human",
"team"
]
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
}
},
"required": [
"kind",
"id"
],
"additionalProperties": false
},
"credentialClaim": {
"type": "object",
"properties": {
"claimedAbsent": {
"type": "boolean"
},
"account": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"probe": {
"type": "object",
"properties": {
"account": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:/@#+-]{1,160}$"
},
"verdict": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
}
},
"required": [
"account",
"verdict"
],
"additionalProperties": false
}
},
"required": [
"claimedAbsent",
"account"
],
"additionalProperties": false
},
"hold": {
"type": "object",
"properties": {
"soleDependency": {
"type": "boolean"
},
"affirmative": {
"type": "boolean"
},
"secondDependencies": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{0,60}$"
},
"maxItems": 8
}
},
"required": [],
"additionalProperties": false
},
"precondition": {
"type": "object",
"properties": {
"readable": {
"type": "boolean"
},
"read": {
"type": "boolean"
}
},
"required": [
"readable"
],
"additionalProperties": false
},
"blockerType": {
"type": "string",
"pattern": "^[a-z][a-z0-9_-]{0,60}$"
}
},
"required": [
"run",
"cls",
"evidence"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"lease": {
"type": "string",
"pattern": "^lease_[0-9]{1,12}$"
}
},
"required": [
"lease"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.work.release
{
"id": "foundry.work.release",
"method": "POST",
"path": "/v1/foundry/work/{lease}/release",
"authentication": "bearer required",
"scope": "foundry:work",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"run": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]{1,120}$"
},
"reason": {
"type": "string",
"enum": [
"CHILD_EXIT_WITHOUT_CLOSEOUT",
"CHILD_TIMEOUT",
"CHILD_ERROR",
"CHILD_INTERRUPTED",
"CHILD_SELF_RELEASE",
"PRE_BIND_CHILD_DEATH",
"TIER_UNREADABLE",
"RUNTIME_RESTART_ORPHAN"
]
},
"usage": {
"type": "object",
"properties": {
"tokens": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"costUsd": {
"type": "number",
"minimum": 0,
"maximum": 1000000
},
"inputTokens": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"outputTokens": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"tokens",
"costUsd"
],
"additionalProperties": false
}
},
"required": [
"run",
"reason"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"lease": {
"type": "string",
"pattern": "^lease_[0-9]{1,12}$"
}
},
"required": [
"lease"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.fusion.config.get
{
"id": "foundry.fusion.config.get",
"method": "GET",
"path": "/v1/foundry/fusion/config",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"version": {
"type": "string",
"pattern": "^[1-9][0-9]{0,15}$"
}
},
"required": [],
"additionalProperties": false
}
}
foundry.fusion.config.versions.list
{
"id": "foundry.fusion.config.versions.list",
"method": "GET",
"path": "/v1/foundry/fusion/config/versions",
"authentication": "bearer required",
"scope": "foundry:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"proposed",
"published",
"rejected",
"expired",
"revoked"
]
},
"limit": {
"type": "string",
"pattern": "^(?:[1-9][0-9]?|1[0-9]{2}|200)$"
}
},
"required": [],
"additionalProperties": false
}
}
foundry.fusion.config.change
{
"id": "foundry.fusion.config.change",
"method": "POST",
"path": "/v1/foundry/fusion/config/change",
"authentication": "bearer required",
"scope": "foundry:configure",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"base": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"set": {
"type": "object",
"maxProperties": 64,
"additionalProperties": false,
"patternProperties": {
"^(?:seats|gates|tiers|limits|loop)(?:\\.[A-Za-z0-9_-]{1,64}){1,4}$": {
"type": [
"string",
"number",
"boolean",
"array",
"object",
"null"
]
}
},
"description": "Path in the closed grammar to its new value, e.g. {\"seats.glm.model\": \"glm-5.3\"}"
},
"remove": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^(?:seats|gates|tiers|limits|loop)(?:\\.[A-Za-z0-9_-]{1,64}){1,4}$"
},
"maxItems": 64
},
"rollbackTo": {
"oneOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "string",
"enum": [
"default"
]
}
]
},
"reason": {
"type": "string",
"minLength": 8,
"maxLength": 500
},
"dryRun": {
"type": "boolean"
}
},
"required": [
"reason"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.fusion.config.publish
{
"id": "foundry.fusion.config.publish",
"method": "POST",
"path": "/v1/foundry/fusion/config/publish",
"authentication": "bearer required",
"scope": "foundry:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"version"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.fusion.config.revoke
{
"id": "foundry.fusion.config.revoke",
"method": "POST",
"path": "/v1/foundry/fusion/config/revoke",
"authentication": "bearer required",
"scope": "foundry:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"version"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.fusion.config.withdraw
{
"id": "foundry.fusion.config.withdraw",
"method": "POST",
"path": "/v1/foundry/fusion/config/withdraw",
"authentication": "bearer required",
"scope": "foundry:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"version"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.fusion.config.audit
{
"id": "foundry.fusion.config.audit",
"method": "GET",
"path": "/v1/foundry/fusion/config/audit",
"authentication": "bearer required",
"scope": "foundry:configure",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"table": {
"type": "string",
"enum": [
"config_versions",
"review_jobs",
"review_rounds",
"review_attempts",
"telemetry_rounds",
"telemetry_seats"
]
},
"offset": {
"type": "string",
"pattern": "^(?:0|[1-9][0-9]{0,6})$"
}
},
"required": [],
"additionalProperties": false
}
}
foundry.fusion.config.audit.text
{
"id": "foundry.fusion.config.audit.text",
"method": "POST",
"path": "/v1/foundry/fusion/config/audit/text",
"authentication": "bearer required",
"scope": "foundry:configure",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"linear",
"slack"
]
},
"pages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 20000
},
"minItems": 1,
"maxItems": 50
}
},
"required": [
"source",
"pages"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
foundry.privileged.run
{
"id": "foundry.privileged.run",
"method": "POST",
"path": "/v1/foundry/privileged/run",
"authentication": "bearer required",
"scope": "foundry:write",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"workflow": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"sha": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
"inputs": {
"type": "object",
"maxProperties": 10,
"additionalProperties": false,
"patternProperties": {
"^[A-Za-z_][A-Za-z0-9_-]{0,63}$": {
"type": "string",
"maxLength": 256
}
}
}
},
"required": [
"workflow",
"sha"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
finance.plaid.get
{
"id": "finance.plaid.get",
"method": "GET",
"path": "/v1/finance/plaid",
"authentication": "bearer required",
"scope": "finance:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
finance.stripe.connect
{
"id": "finance.stripe.connect",
"method": "POST",
"path": "/v1/finance/stripe/connect",
"authentication": "bearer required",
"scope": "finance:connection",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"key": {
"type": "string",
"minLength": 12,
"maxLength": 200
}
},
"required": [
"key"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
finance.stripe.disconnect
{
"id": "finance.stripe.disconnect",
"method": "POST",
"path": "/v1/finance/stripe/disconnect",
"authentication": "bearer required",
"scope": "finance:connection",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
finance.accounting.get
{
"id": "finance.accounting.get",
"method": "GET",
"path": "/v1/finance/accounting",
"authentication": "bearer required",
"scope": "finance:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"period": {
"type": "string",
"enum": [
"last",
"mtd"
]
}
},
"required": [],
"additionalProperties": false
}
}
brain.sources.options
{
"id": "brain.sources.options",
"method": "GET",
"path": "/v1/brain/sources/options",
"authentication": "bearer required",
"scope": "brain:configure",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"connection": {
"type": "string",
"maxLength": 200
},
"kind": {
"type": "string",
"enum": [
"google-drive",
"fathom",
"github",
"slack-app",
"gmail"
]
},
"place": {
"type": "string",
"enum": [
"folder",
"repository",
"channel",
"mailbox"
]
},
"parent": {
"type": "string",
"maxLength": 500
}
},
"required": [],
"additionalProperties": false
}
}
brain.sources.sync
{
"id": "brain.sources.sync",
"method": "POST",
"path": "/v1/brain/sources/{source}/sync",
"authentication": "bearer required",
"scope": "brain:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"source": {
"type": "string",
"pattern": "^SRC-[0-9]{4}$"
}
},
"required": [
"source"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.agents.list
{
"id": "brain.agents.list",
"method": "GET",
"path": "/v1/brain/agents",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.librarian.settings.save
{
"id": "brain.librarian.settings.save",
"method": "POST",
"path": "/v1/brain/librarian/settings",
"authentication": "bearer required",
"scope": "brain:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"repository": {
"anyOf": [
{
"type": "string",
"minLength": 3,
"maxLength": 201,
"pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,99}/[A-Za-z0-9_.-]{1,100}$"
},
{
"type": "null"
}
]
}
},
"required": [
"repository"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.jobs.retry
{
"id": "brain.jobs.retry",
"method": "POST",
"path": "/v1/brain/jobs/retry",
"authentication": "bearer required",
"scope": "brain:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^JOB-[A-Z0-9-]{1,80}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.conflicts.list
{
"id": "brain.conflicts.list",
"method": "GET",
"path": "/v1/brain/conflicts",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"open",
"resolved",
"all"
]
},
"limit": {
"type": "string",
"pattern": "^[1-9][0-9]{0,2}$"
}
},
"required": [],
"additionalProperties": false
}
}
brain.conflicts.resolve
{
"id": "brain.conflicts.resolve",
"method": "POST",
"path": "/v1/brain/conflicts/{id}/resolution",
"authentication": "bearer required",
"scope": "brain:approve",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"resolution": {
"type": "string",
"enum": [
"a",
"b",
"both",
"neither"
]
},
"note": {
"type": "string",
"maxLength": 1000
}
},
"required": [
"resolution"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^CNF-[0-9]{4,}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.channels.list
{
"id": "brain.channels.list",
"method": "GET",
"path": "/v1/brain/channels",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.channels.save
{
"id": "brain.channels.save",
"method": "POST",
"path": "/v1/brain/channels",
"authentication": "bearer required",
"scope": "brain:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"workspace": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
},
"channel": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
},
"name": {
"type": "string",
"maxLength": 120
},
"enabled": {
"type": "boolean"
},
"retention_days": {
"type": "integer",
"minimum": 0,
"maximum": 3650
},
"audience": {
"type": "string",
"enum": [
"company",
"team",
"owner"
]
}
},
"required": [
"workspace",
"channel",
"enabled"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.decisions.list
{
"id": "brain.decisions.list",
"method": "GET",
"path": "/v1/brain/decisions",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"limit": {
"type": "string",
"pattern": "^[1-9][0-9]{0,2}$"
}
},
"required": [],
"additionalProperties": false
}
}
brain.digest.run
{
"id": "brain.digest.run",
"method": "POST",
"path": "/v1/brain/digest",
"authentication": "bearer required",
"scope": "brain:observe",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.digest.get
{
"id": "brain.digest.get",
"method": "GET",
"path": "/v1/brain/digest/{id}",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^(DOC|TRN|MSG|ENT|NOT)-[0-9]{4,}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.bindings.list
{
"id": "brain.bindings.list",
"method": "GET",
"path": "/v1/brain/bindings",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.bindings.save
{
"id": "brain.bindings.save",
"method": "POST",
"path": "/v1/brain/bindings",
"authentication": "bearer required",
"scope": "brain:configure",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"workspace": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$"
},
"channel": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$"
},
"channel_name": {
"type": "string",
"maxLength": 200
},
"remove": {
"type": "string",
"pattern": "^[0-9a-f-]{36}$"
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
brain.audiences.readers
{
"id": "brain.audiences.readers",
"method": "POST",
"path": "/v1/brain/audiences/readers",
"authentication": "bearer required",
"scope": "brain:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"level": {
"type": "string",
"enum": [
"company",
"team",
"owner"
]
},
"teams": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"minItems": 1,
"maxItems": 8,
"uniqueItems": true
},
"readers": {
"type": "string",
"enum": [
"everyone",
"people"
]
}
},
"required": [
"level"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.brain.get
{
"id": "agentos.brain.get",
"method": "GET",
"path": "/v1/agentos/brain",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.brain.save
{
"id": "agentos.brain.save",
"method": "POST",
"path": "/v1/agentos/brain",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"none",
"context",
"mcp"
]
},
"context": {
"type": "string",
"maxLength": 20000
},
"mcp": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60
},
"url": {
"type": "string",
"maxLength": 2048
},
"tools": {
"type": "object",
"properties": {
"brief": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,64}$"
},
"search": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,64}$"
},
"read": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,64}$"
},
"observe": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]{1,64}$"
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"learn": {
"type": "boolean"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.limits.get
{
"id": "agentos.limits.get",
"method": "GET",
"path": "/v1/limits",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.limits.set
{
"id": "agentos.limits.set",
"method": "POST",
"path": "/v1/limits",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"limits": {
"type": "object",
"properties": {
"lifetimeCapMicroUsd": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"dailyCapMicroUsd": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"maxLiveRuns": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"maxParallel": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"minBudgetMicroUsd": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"maxBudgetMicroUsd": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [],
"additionalProperties": false
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740990
}
},
"required": [
"limits",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.rules.get
{
"id": "agentos.rules.get",
"method": "GET",
"path": "/v1/agentos/rules",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.skills.list
{
"id": "agentos.skills.list",
"method": "GET",
"path": "/v1/agentos/skills",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"agent": {
"type": "string",
"maxLength": 160
}
},
"required": [],
"additionalProperties": false
}
}
agentos.launches.message
{
"id": "agentos.launches.message",
"method": "POST",
"path": "/v1/agentos/launches/{id}/messages",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"addBudgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
}
},
"required": [
"text"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.runs.list
{
"id": "agentos.runs.list",
"method": "GET",
"path": "/v1/agentos/runs",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"limit": {
"type": "string",
"pattern": "^[1-9][0-9]{0,2}$"
},
"before": {
"type": "string",
"maxLength": 40
},
"beforeRun": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [],
"additionalProperties": false
}
}
agentos.runs.get
{
"id": "agentos.runs.get",
"method": "GET",
"path": "/v1/agentos/runs/{id}",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.runs.export
{
"id": "agentos.runs.export",
"method": "GET",
"path": "/v1/agentos/runs/export",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.runs.erase
{
"id": "agentos.runs.erase",
"method": "POST",
"path": "/v1/agentos/runs/erase",
"authentication": "bearer required",
"scope": "agent:delete",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.deploy
{
"id": "agentos.agents.deploy",
"method": "POST",
"path": "/v1/agentos/agents",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"recipes": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"minItems": 1,
"maxItems": 9,
"uniqueItems": true
},
"keys": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"patternProperties": {
"^[a-z0-9][a-z0-9-]{0,39}$": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"additionalProperties": false
},
"tools": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"patternProperties": {
"^[a-z0-9][a-z0-9-]{0,39}$": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_]{0,63}$"
},
"uniqueItems": true
}
},
"additionalProperties": false
},
"names": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"patternProperties": {
"^[a-z0-9][a-z0-9-]{0,39}$": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "\\S"
}
},
"additionalProperties": false
},
"skills": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"patternProperties": {
"^[a-z0-9][a-z0-9-]{0,39}$": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"uniqueItems": true,
"maxItems": 12
}
},
"additionalProperties": false
},
"models": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"patternProperties": {
"^[a-z0-9][a-z0-9-]{0,39}$": {
"type": "object",
"properties": {
"brain": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
},
"hands": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
},
"skills": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"bySkill": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"patternProperties": {
"^[a-z0-9][a-z0-9-]{0,63}$": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"additionalProperties": false,
"maxProperties": 12
}
},
"required": [
"model"
],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
}
},
"additionalProperties": false
},
"dailyUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 2000
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
}
},
"required": [
"recipes"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.list
{
"id": "agentos.agents.list",
"method": "GET",
"path": "/v1/agentos/agents",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.get
{
"id": "agentos.agents.get",
"method": "GET",
"path": "/v1/agentos/agents/{id}",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.scorecard
{
"id": "agentos.agents.scorecard",
"method": "GET",
"path": "/v1/agentos/agents/{id}/scorecard",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.update
{
"id": "agentos.agents.update",
"method": "POST",
"path": "/v1/agentos/agents/{id}",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "\\S"
},
"tools": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_]{0,63}$"
},
"uniqueItems": true
},
"skills": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"uniqueItems": true,
"maxItems": 12
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"dailyUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 2000
},
"state": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"brainTools": {
"type": "boolean"
},
"reportChannel": {
"anyOf": [
{
"type": "string",
"pattern": "^[CDG][A-Z0-9]{8,12}$"
},
{
"type": "null"
}
]
},
"stallMinutes": {
"anyOf": [
{
"type": "integer",
"minimum": 5,
"maximum": 1440
},
{
"type": "null"
}
]
},
"dayAlertPct": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 100
},
{
"type": "null"
}
]
},
"models": {
"type": "object",
"properties": {
"brain": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
},
"hands": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
},
"skills": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"bySkill": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"patternProperties": {
"^[a-z0-9][a-z0-9-]{0,63}$": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"additionalProperties": false,
"maxProperties": 12
}
},
"required": [
"model"
],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"expectedModelsVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740990
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.models.defaults.get
{
"id": "agentos.models.defaults.get",
"method": "GET",
"path": "/v1/agentos/models/defaults",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.models.defaults.set
{
"id": "agentos.models.defaults.set",
"method": "POST",
"path": "/v1/agentos/models/defaults",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"models": {
"type": "object",
"properties": {
"brain": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
},
"hands": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
},
"skills": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"bySkill": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"patternProperties": {
"^[a-z0-9][a-z0-9-]{0,63}$": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"additionalProperties": false,
"maxProperties": 12
}
},
"required": [
"model"
],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740990
}
},
"required": [
"models",
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.remove
{
"id": "agentos.agents.remove",
"method": "POST",
"path": "/v1/agentos/agents/{id}/remove",
"authentication": "bearer required",
"scope": "agent:delete",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.ask
{
"id": "agentos.agents.ask",
"method": "POST",
"path": "/v1/agentos/agents/{id}/ask",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"ask": {
"type": "string",
"minLength": 1,
"maxLength": 8000,
"pattern": "\\S"
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f\\\\/]+$"
},
"text": {
"type": "string"
}
},
"required": [
"name",
"text"
],
"additionalProperties": false
},
"maxItems": 10
},
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"browser": {
"type": "object",
"properties": {
"profile": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"domains": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9.-]{0,252}$"
},
"minItems": 1,
"maxItems": 20
},
"mode": {
"type": "string",
"enum": [
"act",
"read"
]
}
},
"required": [
"profile"
],
"additionalProperties": false
},
"conversation": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"ask"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.install
{
"id": "agentos.agents.install",
"method": "POST",
"path": "/v1/agentos/agents/install",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"app": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"apps": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"minItems": 1,
"maxItems": 7,
"uniqueItems": true
},
"remove": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.installs
{
"id": "agentos.agents.installs",
"method": "GET",
"path": "/v1/agentos/agents/install",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.fleet.get
{
"id": "agentos.fleet.get",
"method": "GET",
"path": "/v1/agentos/fleet",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.rosters.deploy
{
"id": "agentos.rosters.deploy",
"method": "POST",
"path": "/v1/agentos/rosters",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"roster": {
"oneOf": [
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "\\S"
},
"agents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"recipe": {
"type": "string",
"enum": [
"company-files",
"rally",
"scout",
"pixel",
"patch",
"storm",
"sentinel"
]
},
"version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
}
},
"required": [
"recipe",
"version"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 8
},
"dailyUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 2000
}
},
"required": [
"id",
"version",
"name",
"agents"
],
"additionalProperties": false
}
]
},
"slack": {
"type": "object",
"properties": {
"channels": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$"
},
"minItems": 1,
"maxItems": 10,
"uniqueItems": true
}
},
"required": [
"channels"
],
"additionalProperties": false
},
"agents": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"patternProperties": {
"^[a-z0-9][a-z0-9-]{0,39}$": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "\\S"
},
"tools": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_]{0,63}$"
},
"uniqueItems": true
},
"skills": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"uniqueItems": true,
"maxItems": 12
},
"models": {
"type": "object",
"properties": {
"brain": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
},
"hands": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
},
"skills": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"fallback": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"bySkill": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"patternProperties": {
"^[a-z0-9][a-z0-9-]{0,63}$": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"additionalProperties": false,
"maxProperties": 12
}
},
"required": [
"model"
],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
},
"dailyUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 2000
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
}
},
"required": [],
"additionalProperties": false
}
},
"additionalProperties": false
},
"dailyUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 2000
}
},
"required": [
"roster"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.rosters.list
{
"id": "agentos.rosters.list",
"method": "GET",
"path": "/v1/agentos/rosters",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.rosters.get
{
"id": "agentos.rosters.get",
"method": "GET",
"path": "/v1/agentos/rosters/{id}",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.rosters.remove
{
"id": "agentos.rosters.remove",
"method": "POST",
"path": "/v1/agentos/rosters/{id}/remove",
"authentication": "bearer required",
"scope": "agent:delete",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.operator.rosters.save
{
"id": "agentos.operator.rosters.save",
"method": "POST",
"path": "/v1/agentos/operator/rosters",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"manifest": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "\\S"
},
"agents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"recipe": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
}
},
"required": [
"recipe",
"version"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 8
},
"loops": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"everyMinutes": {
"type": "integer",
"minimum": 5,
"maximum": 1440
},
"check": {
"type": "object",
"properties": {
"tool": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$"
},
"connector": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"args": {
"type": "object",
"propertyNames": {
"pattern": "^[A-Za-z0-9_.-]{1,64}$"
},
"patternProperties": {
"^[A-Za-z0-9_.-]{1,64}$": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"maxLength": 512
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 512
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"maxItems": 32
}
]
}
},
"additionalProperties": false,
"maxProperties": 32
},
"wakeWhen": {
"type": "string",
"minLength": 1,
"maxLength": 400
}
},
"required": [
"tool",
"wakeWhen"
],
"additionalProperties": false
},
"recipe": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"objective": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 2000
}
},
"required": [
"name",
"everyMinutes",
"check",
"objective",
"recipe"
],
"additionalProperties": false
},
"maxItems": 4
},
"dailyUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 2000
}
},
"required": [
"id",
"version",
"name",
"agents"
],
"additionalProperties": false
}
},
"required": [
"manifest"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.operator.rosters.get
{
"id": "agentos.operator.rosters.get",
"method": "GET",
"path": "/v1/agentos/operator/rosters/{id}",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.concierge.questions
{
"id": "agentos.concierge.questions",
"method": "GET",
"path": "/v1/agentos/concierge/questions",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.create
{
"id": "agentos.agents.create",
"method": "POST",
"path": "/v1/agentos/agents/create",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"recipe": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "\\S"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "\\S"
},
"role": {
"type": "string",
"minLength": 1,
"maxLength": 1200,
"pattern": "\\S"
},
"tools": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_]{0,63}$"
},
"uniqueItems": true
},
"model": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"tier": {
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 2
},
"dailyUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 25
},
"skills": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"description": {
"type": "string",
"maxLength": 240
},
"body": {
"type": "string",
"minLength": 1,
"maxLength": 20000
}
},
"required": [
"name",
"body"
],
"additionalProperties": false
},
"maxItems": 12
},
"handoffs": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"maxItems": 8,
"uniqueItems": true
}
},
"required": [
"name",
"role"
],
"additionalProperties": false
}
},
"required": [
"recipe"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.recipes.list
{
"id": "agentos.agents.recipes.list",
"method": "GET",
"path": "/v1/agentos/agents/recipes",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.recipes.save
{
"id": "agentos.agents.recipes.save",
"method": "POST",
"path": "/v1/agentos/agents/recipes",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "\\S"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "\\S"
},
"role": {
"type": "string",
"minLength": 1,
"maxLength": 1200,
"pattern": "\\S"
},
"tools": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_]{0,63}$"
},
"uniqueItems": true
},
"model": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"tier": {
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 2
},
"dailyUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 25
},
"skills": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
},
"description": {
"type": "string",
"maxLength": 240
},
"body": {
"type": "string",
"minLength": 1,
"maxLength": 20000
}
},
"required": [
"name",
"body"
],
"additionalProperties": false
},
"maxItems": 12
},
"handoffs": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"maxItems": 8,
"uniqueItems": true
}
},
"required": [
"name",
"role"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.recipes.get
{
"id": "agentos.agents.recipes.get",
"method": "GET",
"path": "/v1/agentos/agents/recipes/{id}",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.recipes.export
{
"id": "agentos.agents.recipes.export",
"method": "GET",
"path": "/v1/agentos/agents/recipes/{id}/export",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.recipes.remove
{
"id": "agentos.agents.recipes.remove",
"method": "POST",
"path": "/v1/agentos/agents/recipes/{id}/remove",
"authentication": "bearer required",
"scope": "agent:delete",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.settings.get
{
"id": "agentos.agents.settings.get",
"method": "GET",
"path": "/v1/agentos/agents/settings",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.settings.save
{
"id": "agentos.agents.settings.save",
"method": "POST",
"path": "/v1/agentos/agents/settings",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"propose",
"allow"
]
}
},
"required": [
"mode"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.proposals.list
{
"id": "agentos.agents.proposals.list",
"method": "GET",
"path": "/v1/agentos/agents/proposals",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.agents.proposals.decide
{
"id": "agentos.agents.proposals.decide",
"method": "POST",
"path": "/v1/agentos/agents/proposals/{id}",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"approve": {
"type": "boolean"
}
},
"required": [
"approve"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.routines.list
{
"id": "agentos.routines.list",
"method": "GET",
"path": "/v1/agentos/routines",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.routines.create
{
"id": "agentos.routines.create",
"method": "POST",
"path": "/v1/agentos/routines",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "\\S"
},
"schedule": {
"oneOf": [
{
"type": "object",
"properties": {
"every": {
"const": "hour"
},
"at": {
"type": "string",
"pattern": "^00:[0-5][0-9]$"
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"timezone"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"every": {
"const": "day"
},
"at": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"at",
"timezone"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"every": {
"const": "week"
},
"at": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
},
"weekday": {
"type": "integer",
"minimum": 0,
"maximum": 6
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"at",
"weekday",
"timezone"
],
"additionalProperties": false
}
]
},
"launch": {
"type": "object",
"properties": {
"ask": {
"type": "string",
"minLength": 1,
"maxLength": 8000,
"pattern": "\\S"
},
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
},
"tier": {
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"agents": {
"type": "integer",
"enum": [
1,
3
]
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f\\\\/]+$"
},
"text": {
"type": "string"
}
},
"required": [
"name",
"text"
],
"additionalProperties": false
},
"maxItems": 10
},
"council": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"independent",
"planned"
]
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[^\\x00-\\x1f]*$"
}
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"tools": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workspace_write",
"workspace_read",
"workspace_edit",
"workspace_grep",
"github_read",
"librarian_pass",
"web_search",
"web_fetch",
"web_scrape",
"domain_check"
]
},
"uniqueItems": true
}
},
"required": [
"model"
],
"additionalProperties": false
},
"minItems": 2,
"maxItems": 8
},
"synthesizer": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
}
},
"required": [
"members",
"synthesizer"
],
"additionalProperties": false
},
"goal": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"stop": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S"
},
"rounds": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"workers": {
"type": "integer",
"minimum": 1,
"maximum": 3
}
},
"required": [
"key",
"stop"
],
"additionalProperties": false
},
"recipe": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"hours": {
"type": "number",
"minimum": 0.1,
"maximum": 168
}
},
"required": [
"ask"
],
"additionalProperties": false
},
"carryOver": {
"type": "boolean"
},
"enabled": {
"type": "boolean"
}
},
"required": [
"name",
"schedule",
"launch"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.routines.update
{
"id": "agentos.routines.update",
"method": "POST",
"path": "/v1/agentos/routines/{id}",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "\\S"
},
"schedule": {
"oneOf": [
{
"type": "object",
"properties": {
"every": {
"const": "hour"
},
"at": {
"type": "string",
"pattern": "^00:[0-5][0-9]$"
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"timezone"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"every": {
"const": "day"
},
"at": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"at",
"timezone"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"every": {
"const": "week"
},
"at": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
},
"weekday": {
"type": "integer",
"minimum": 0,
"maximum": 6
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"at",
"weekday",
"timezone"
],
"additionalProperties": false
}
]
},
"launch": {
"type": "object",
"properties": {
"ask": {
"type": "string",
"minLength": 1,
"maxLength": 8000,
"pattern": "\\S"
},
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
},
"tier": {
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"agents": {
"type": "integer",
"enum": [
1,
3
]
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\x00-\\x1f\\\\/]+$"
},
"text": {
"type": "string"
}
},
"required": [
"name",
"text"
],
"additionalProperties": false
},
"maxItems": 10
},
"council": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"independent",
"planned"
]
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[^\\x00-\\x1f]*$"
}
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"tools": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workspace_write",
"workspace_read",
"workspace_edit",
"workspace_grep",
"github_read",
"librarian_pass",
"web_search",
"web_fetch",
"web_scrape",
"domain_check"
]
},
"uniqueItems": true
}
},
"required": [
"model"
],
"additionalProperties": false
},
"minItems": 2,
"maxItems": 8
},
"synthesizer": {
"type": "object",
"properties": {
"model": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"coding"
]
},
{
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}/[a-z0-9][a-z0-9._:-]{0,95}$"
}
]
}
},
"required": [
"model"
],
"additionalProperties": false
}
},
"required": [
"members",
"synthesizer"
],
"additionalProperties": false
},
"goal": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"stop": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S"
},
"rounds": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"workers": {
"type": "integer",
"minimum": 1,
"maximum": 3
}
},
"required": [
"key",
"stop"
],
"additionalProperties": false
},
"recipe": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"hours": {
"type": "number",
"minimum": 0.1,
"maximum": 168
}
},
"required": [
"ask"
],
"additionalProperties": false
},
"carryOver": {
"type": "boolean"
},
"enabled": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.routines.run
{
"id": "agentos.routines.run",
"method": "POST",
"path": "/v1/agentos/routines/{id}/run",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.routines.delete
{
"id": "agentos.routines.delete",
"method": "POST",
"path": "/v1/agentos/routines/{id}/delete",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.goals.list
{
"id": "agentos.goals.list",
"method": "GET",
"path": "/v1/agentos/goals",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.goals.get
{
"id": "agentos.goals.get",
"method": "GET",
"path": "/v1/agentos/goals/{key}",
"authentication": "bearer required",
"scope": "agent:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"key"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.goals.create
{
"id": "agentos.goals.create",
"method": "POST",
"path": "/v1/agentos/goals",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"ask": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"pattern": "\\S"
},
"stop": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S"
},
"seats": {
"type": "object",
"properties": {
"plan": {
"oneOf": [
{
"type": "object",
"properties": {
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
},
"tier": {
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"browser": {
"type": "object",
"properties": {
"profile": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"domains": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9.-]{0,252}$"
},
"minItems": 1,
"maxItems": 20
},
"mode": {
"type": "string",
"enum": [
"act",
"read"
]
}
},
"required": [
"profile"
],
"additionalProperties": false
},
"effort": {
"type": "string",
"enum": [
"off",
"minimal",
"low",
"medium",
"high",
"xhigh",
"max"
]
},
"notify": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"const": "slack"
},
"channel": {
"type": "string"
},
"thread": {
"type": "string"
}
},
"required": [
"kind",
"channel"
],
"additionalProperties": false
},
"maxItems": 3
},
"hours": {
"type": "number",
"minimum": 0.25,
"maximum": 72
}
},
"required": [
"target"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"agent": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
}
},
"required": [
"agent"
],
"additionalProperties": false
}
]
},
"work": {
"oneOf": [
{
"type": "object",
"properties": {
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
},
"tier": {
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"browser": {
"type": "object",
"properties": {
"profile": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"domains": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9.-]{0,252}$"
},
"minItems": 1,
"maxItems": 20
},
"mode": {
"type": "string",
"enum": [
"act",
"read"
]
}
},
"required": [
"profile"
],
"additionalProperties": false
},
"effort": {
"type": "string",
"enum": [
"off",
"minimal",
"low",
"medium",
"high",
"xhigh",
"max"
]
},
"notify": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"const": "slack"
},
"channel": {
"type": "string"
},
"thread": {
"type": "string"
}
},
"required": [
"kind",
"channel"
],
"additionalProperties": false
},
"maxItems": 3
},
"hours": {
"type": "number",
"minimum": 0.25,
"maximum": 72
}
},
"required": [
"target"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"agent": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
}
},
"required": [
"agent"
],
"additionalProperties": false
}
]
}
},
"required": [
"plan",
"work"
],
"additionalProperties": false
},
"concurrency": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"replanAt": {
"type": "integer",
"minimum": 0,
"maximum": 4
},
"planGapSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"planMax": {
"type": "integer",
"minimum": 1,
"maximum": 12
},
"dailyUsd": {
"type": "number",
"minimum": 1
},
"maxIntents": {
"type": "integer",
"minimum": 1,
"maximum": 2000
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"schedule": {
"oneOf": [
{
"type": "object",
"properties": {
"every": {
"const": "hour"
},
"at": {
"type": "string",
"pattern": "^00:[0-5][0-9]$"
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"timezone"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"every": {
"const": "day"
},
"at": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"at",
"timezone"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"every": {
"const": "week"
},
"at": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
},
"weekday": {
"type": "integer",
"minimum": 0,
"maximum": 6
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"at",
"weekday",
"timezone"
],
"additionalProperties": false
}
]
},
"enabled": {
"type": "boolean"
}
},
"required": [
"key",
"ask",
"stop",
"seats",
"dailyUsd",
"expiresAt"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.goals.update
{
"id": "agentos.goals.update",
"method": "POST",
"path": "/v1/agentos/goals/{key}",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"ask": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"pattern": "\\S"
},
"stop": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S"
},
"seats": {
"type": "object",
"properties": {
"plan": {
"oneOf": [
{
"type": "object",
"properties": {
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
},
"tier": {
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"browser": {
"type": "object",
"properties": {
"profile": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"domains": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9.-]{0,252}$"
},
"minItems": 1,
"maxItems": 20
},
"mode": {
"type": "string",
"enum": [
"act",
"read"
]
}
},
"required": [
"profile"
],
"additionalProperties": false
},
"effort": {
"type": "string",
"enum": [
"off",
"minimal",
"low",
"medium",
"high",
"xhigh",
"max"
]
},
"notify": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"const": "slack"
},
"channel": {
"type": "string"
},
"thread": {
"type": "string"
}
},
"required": [
"kind",
"channel"
],
"additionalProperties": false
},
"maxItems": 3
},
"hours": {
"type": "number",
"minimum": 0.25,
"maximum": 72
}
},
"required": [
"target"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"agent": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
}
},
"required": [
"agent"
],
"additionalProperties": false
}
]
},
"work": {
"oneOf": [
{
"type": "object",
"properties": {
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
},
"tier": {
"type": "string",
"enum": [
"auto",
"coding",
"standard",
"strong",
"max"
]
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"browser": {
"type": "object",
"properties": {
"profile": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"domains": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9.-]{0,252}$"
},
"minItems": 1,
"maxItems": 20
},
"mode": {
"type": "string",
"enum": [
"act",
"read"
]
}
},
"required": [
"profile"
],
"additionalProperties": false
},
"effort": {
"type": "string",
"enum": [
"off",
"minimal",
"low",
"medium",
"high",
"xhigh",
"max"
]
},
"notify": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"const": "slack"
},
"channel": {
"type": "string"
},
"thread": {
"type": "string"
}
},
"required": [
"kind",
"channel"
],
"additionalProperties": false
},
"maxItems": 3
},
"hours": {
"type": "number",
"minimum": 0.25,
"maximum": 72
}
},
"required": [
"target"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"agent": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
},
"budgetUsd": {
"type": "number",
"minimum": 0.5,
"maximum": 500
},
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"const": "none"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"const": "github"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"required": [
"kind",
"repository"
],
"additionalProperties": false
}
]
}
},
"required": [
"agent"
],
"additionalProperties": false
}
]
}
},
"required": [
"plan",
"work"
],
"additionalProperties": false
},
"concurrency": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"replanAt": {
"type": "integer",
"minimum": 0,
"maximum": 4
},
"planGapSeconds": {
"type": "integer",
"minimum": 60,
"maximum": 86400
},
"planMax": {
"type": "integer",
"minimum": 1,
"maximum": 12
},
"dailyUsd": {
"type": "number",
"minimum": 1
},
"maxIntents": {
"type": "integer",
"minimum": 1,
"maximum": 2000
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"schedule": {
"oneOf": [
{
"type": "object",
"properties": {
"every": {
"const": "hour"
},
"at": {
"type": "string",
"pattern": "^00:[0-5][0-9]$"
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"timezone"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"every": {
"const": "day"
},
"at": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"at",
"timezone"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"every": {
"const": "week"
},
"at": {
"type": "string",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
},
"weekday": {
"type": "integer",
"minimum": 0,
"maximum": 6
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"every",
"at",
"weekday",
"timezone"
],
"additionalProperties": false
}
]
},
"enabled": {
"type": "boolean"
},
"state": {
"type": "string",
"enum": [
"running",
"stopped"
]
}
},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"key"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.goals.wake
{
"id": "agentos.goals.wake",
"method": "POST",
"path": "/v1/agentos/goals/{key}/wake",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"key"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.goals.delete
{
"id": "agentos.goals.delete",
"method": "POST",
"path": "/v1/agentos/goals/{key}/delete",
"authentication": "bearer required",
"scope": "agent:create",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,39}$"
}
},
"required": [
"key"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.browsers.open
{
"id": "agentos.browsers.open",
"method": "POST",
"path": "/v1/agentos/browsers",
"authentication": "bearer required",
"scope": "browser:use",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"act",
"read"
]
},
"domains": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9.-]{0,252}$"
},
"minItems": 1,
"maxItems": 20
},
"engine": {
"type": "string",
"enum": [
"auto",
"standard",
"residential"
]
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"idleSeconds": {
"type": "integer",
"minimum": 30,
"maximum": 1200
},
"maxMinutes": {
"type": "integer",
"minimum": 1,
"maximum": 240
},
"maxUsd": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 500
},
"record": {
"type": "boolean"
},
"profile": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"maxUsd"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.browsers.act
{
"id": "agentos.browsers.act",
"method": "POST",
"path": "/v1/agentos/browsers/{id}/act",
"authentication": "bearer required",
"scope": "browser:use",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"do": {
"type": "string",
"enum": [
"open",
"back",
"snapshot",
"read",
"click",
"fill",
"press",
"select",
"scroll",
"wait",
"screenshot",
"eval",
"upload",
"handoff",
"viewport"
]
},
"url": {
"type": "string",
"maxLength": 2048
},
"ref": {
"type": "string",
"maxLength": 16
},
"text": {
"type": "string",
"maxLength": 4000
},
"key": {
"type": "string",
"maxLength": 40
},
"value": {
"type": "string",
"maxLength": 500
},
"to": {
"type": "string",
"maxLength": 2048
},
"for": {
"oneOf": [
{
"const": "idle"
},
{
"type": "integer",
"minimum": 0,
"maximum": 30000
},
{
"type": "string",
"maxLength": 200
}
]
},
"offset": {
"type": "integer",
"minimum": 0
},
"full": {
"type": "boolean"
},
"show": {
"type": "boolean"
},
"all": {
"type": "boolean"
},
"scope": {
"type": "string",
"maxLength": 200
},
"js": {
"type": "string",
"maxLength": 8000
},
"file": {
"type": "string",
"maxLength": 120
},
"reason": {
"type": "string",
"maxLength": 200
},
"width": {
"type": "integer",
"minimum": 320,
"maximum": 2560
},
"height": {
"type": "integer",
"minimum": 320,
"maximum": 4000
}
},
"required": [
"do"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 20
},
"return": {
"type": "string",
"enum": [
"snapshot",
"text",
"none"
]
}
},
"required": [
"steps"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.browsers.get
{
"id": "agentos.browsers.get",
"method": "GET",
"path": "/v1/agentos/browsers/{id}",
"authentication": "bearer required",
"scope": "browser:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.browsers.list
{
"id": "agentos.browsers.list",
"method": "GET",
"path": "/v1/agentos/browsers",
"authentication": "bearer required",
"scope": "browser:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.browsers.close
{
"id": "agentos.browsers.close",
"method": "POST",
"path": "/v1/agentos/browsers/{id}/close",
"authentication": "bearer required",
"scope": "browser:use",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.browsers.file
{
"id": "agentos.browsers.file",
"method": "GET",
"path": "/v1/agentos/browsers/{id}/files/{name}",
"authentication": "bearer required",
"scope": "browser:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"name": {
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,80}$"
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.browsers.authorize
{
"id": "agentos.browsers.authorize",
"method": "POST",
"path": "/v1/agentos/browsers/{id}/authorize",
"authentication": "bearer required",
"scope": "browser:profiles",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"approve": {
"type": "boolean"
},
"termsHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"approve",
"termsHash"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.browsers.profiles.list
{
"id": "agentos.browsers.profiles.list",
"method": "GET",
"path": "/v1/agentos/browsers/profiles",
"authentication": "bearer required",
"scope": "browser:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.browsers.profiles.save
{
"id": "agentos.browsers.profiles.save",
"method": "POST",
"path": "/v1/agentos/browsers/profiles",
"authentication": "bearer required",
"scope": "browser:profiles",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"domains": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9.-]{0,252}$"
},
"minItems": 1,
"maxItems": 20
},
"session": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
},
"permission": {
"type": "string",
"enum": [
"automatic",
"ask-first"
]
},
"allowEval": {
"type": "boolean"
}
},
"required": [
"name",
"domains",
"session"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
agentos.browsers.profiles.remove
{
"id": "agentos.browsers.profiles.remove",
"method": "POST",
"path": "/v1/agentos/browsers/profiles/remove",
"authentication": "bearer required",
"scope": "browser:profiles",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.entity.sandbox.start
{
"id": "launch.entity.sandbox.start",
"method": "POST",
"path": "/v1/launch/entity/sandbox",
"authentication": "bearer required",
"scope": "launch:run",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740990
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.entity.sandbox.get
{
"id": "launch.entity.sandbox.get",
"method": "GET",
"path": "/v1/launch/entity/sandbox",
"authentication": "bearer required",
"scope": "launch:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.entity.sandbox.refresh
{
"id": "launch.entity.sandbox.refresh",
"method": "POST",
"path": "/v1/launch/entity/sandbox/refresh",
"authentication": "bearer required",
"scope": "launch:run",
"effect": "write",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"expectedVersion": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740990
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.entity.sandbox.documents
{
"id": "launch.entity.sandbox.documents",
"method": "GET",
"path": "/v1/launch/entity/sandbox/documents",
"authentication": "bearer required",
"scope": "launch:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
launch.entity.sandbox.document
{
"id": "launch.entity.sandbox.document",
"method": "GET",
"path": "/v1/launch/entity/sandbox/documents/{documentId}",
"authentication": "bearer required",
"scope": "launch:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$"
}
},
"required": [
"documentId"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
marketing.chain.read
{
"id": "marketing.chain.read",
"method": "GET",
"path": "/v1/marketing/chain",
"authentication": "bearer required",
"scope": "marketing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"lane": {
"type": "string",
"maxLength": 120
}
},
"required": [],
"additionalProperties": false
}
}
marketing.activity.read
{
"id": "marketing.activity.read",
"method": "GET",
"path": "/v1/marketing/activity",
"authentication": "bearer required",
"scope": "marketing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"subject": {
"type": "string",
"maxLength": 120
},
"since": {
"type": "string",
"format": "date-time"
},
"before": {
"type": "string",
"maxLength": 256
}
},
"required": [],
"additionalProperties": false
}
}
marketing.actions.propose
{
"id": "marketing.actions.propose",
"method": "POST",
"path": "/v1/marketing/actions",
"authentication": "bearer required",
"scope": "marketing:act",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"lane": {
"type": "string",
"maxLength": 120
},
"subject": {
"type": "object",
"properties": {
"type": {
"type": "string",
"minLength": 1,
"maxLength": 40
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"required": [
"type",
"id"
],
"additionalProperties": false
},
"payload": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"kind",
"payload",
"reason"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
marketing.actions.read
{
"id": "marketing.actions.read",
"method": "GET",
"path": "/v1/marketing/actions/{id}",
"authentication": "bearer required",
"scope": "marketing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f-]{36}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
marketing.spend.read
{
"id": "marketing.spend.read",
"method": "GET",
"path": "/v1/marketing/spend",
"authentication": "bearer required",
"scope": "marketing:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {
"since": {
"type": "string",
"format": "date-time"
},
"by": {
"type": "string",
"enum": [
"kind",
"skill",
"lane",
"day"
]
}
},
"required": [],
"additionalProperties": false
}
}
marketing.skills.run
{
"id": "marketing.skills.run",
"method": "POST",
"path": "/v1/marketing/skills/{name}/run",
"authentication": "bearer required",
"scope": "marketing:act",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"subject": {
"type": "object",
"properties": {
"type": {
"type": "string",
"minLength": 1,
"maxLength": 40
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"required": [
"type",
"id"
],
"additionalProperties": false
},
"payload": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"dryRun": {
"type": "boolean"
}
},
"required": [
"subject"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[a-zA-Z0-9_.-]{1,80}$"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
marketing.data.call
{
"id": "marketing.data.call",
"method": "POST",
"path": "/v1/marketing/data/{name}",
"authentication": "bearer required",
"scope": "marketing:act",
"effect": "spend",
"idempotency": "required",
"input": {
"type": "object",
"properties": {
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
},
"required": [
"input"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[a-zA-Z0-9_.-]{1,80}$"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
marketing.stops.write
{
"id": "marketing.stops.write",
"method": "POST",
"path": "/v1/marketing/stops",
"authentication": "bearer required",
"scope": "marketing:act",
"effect": "write",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {
"lane": {
"type": "string",
"maxLength": 120
},
"stopped": {
"type": "boolean"
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"stopped",
"reason"
],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}
marketing.health.get
{
"id": "marketing.health.get",
"method": "GET",
"path": "/v1/marketing/health",
"authentication": "bearer required",
"scope": "account:read",
"effect": "read",
"idempotency": "optional",
"input": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"pathParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"queryParameters": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}