Crescendo Lab ドキュメント
日本語
無料で始める

Platform API スキーマ

Platform API v1 が送受信するオブジェクトすべてのフィールド。実行のイベントストリーム(RunEvents)と Error の形を含みます。

最終更新

API コントラクト(Agent Lab Platform API 1.0.0-alpha.1)から生成しています。説明文はコントラクトの英語の原文のままです。

Recovery#

What gets a refused request working again. Clients tolerate values added later.

型値
string値: authorize, configure, retry, none.

Error#

フィールド型必須説明
errorobjectはい—
error.codestringはいStable, UPPER_SNAKE_CASE. New codes may be added under an existing recovery.
error.messagestringはいFor the developer's logs; not for display to a person, and never parsed.
error.recoveryRecoveryはい—
error.requestIdstringはいQuote it when asking for support.
error.problemsProblem[]いいえWith RUN_CONFIGURATION_INVALID: every problem found, each with its field.

Page#

The page envelope every list answers, with its items beside it.

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.

AccountWorkspace#

フィールド型必須説明
idstringはい—
namestringはい—
slugstringはいThe workspace's short name, in its console address.
statestringはいdeletion_scheduled only in the list filtered by it. 値: active, deletion_scheduled.
rolestringいいえThe person's role in the workspace, when known. Clients tolerate roles added later.
organizationobjectいいえThe organization the workspace belongs to, once it is placed in one.
organization.idstringはい—
organization.namestringはい—
deletionEffectiveAtstring (date-time)いいえWhen a workspace scheduled for deletion is deleted; recoverable until then.

AccountWorkspaceList#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsAccountWorkspace[]はい—
creationobjectいいえWhether the person may create another workspace; absent from the deletion_scheduled list.
creation.statusstringはい値: available, limit_reached.
creation.remaininginteger または nullいいえWith available, how many more; null when there is no limit.
creation.limitintegerいいえWith limit_reached, the limit.

AccountWorkspaceCreate#

フィールド型必須説明
namestringはい—
slugstringはい—

WorkspaceAdmission#

フィールド型必須説明
statusstringはい値: reachable, realm_not_admitted, no_membership.
signInRealmsobject[]いいえWith realm_not_admitted, the entrances the workspace admits.
signInRealms[].idstringはい—
signInRealms[].kindstringはい—
signInRealms[].loginMethodsstring[]はい—

Installation#

フィールド型必須説明
idstringはい—
workspaceIdstringはい—
clientIdstringはいThe OAuth client id of the installed application.
applicationNamestringはい—
installedAtstring (date-time)はい—
grantedScopesstring[]はいWhat an administrator approved.
pendingScopesstring[]はいWhat the application declares beyond them, awaiting an administrator's approval.
tokenScopesstring[]はいWhat this token carries, and so what this call and the next ones with it may use.

WorkspaceMember#

フィールド型必須説明
accountIdstringはい—
rolestringはいThe member's role in the workspace. Clients tolerate roles added later.
capabilitiesstring[]はいWhat the role lets the member do in this workspace. Clients ignore names they do not know.

WorkspaceSettings#

フィールド型必須説明
defaultModelstringはいThe workspace's default model id; empty when it uses the platform's.
systemPromptstringはいThe instructions the workspace adds to every answer.
requireEvalBeforePublishbooleanはい—
monthlyTokenBudgetintegerはいTokens per calendar month; 0 keeps the platform's default.
rollingWindowTokenBudgetintegerはいTokens per rolling window; 0 keeps the platform's default.
disableAutoToolExecutionbooleanはいEvery tool call waits for a person's approval.
approvalChannelIdstringはいWhere approval requests are delivered; empty keeps them in the console.
localestringはいThe language of platform-written messages.
auditRetentionDaysinteger または nullはいNull keeps every audit record.
gatewayActivityRetentionDaysinteger または nullはいNull keeps every AI Gateway activity record.
sandboxPosturestringはい—
sandboxAvailablebooleanはいWhether this platform offers code execution to the workspace at all.
taskFocusedbooleanはい—
generalAssistantEnabledbooleanはい—
timeZonestringはいIANA time zone.

WorkspaceSettingsPatch#

The settings to change; each field left out keeps its value.

フィールド型必須説明
defaultModelstringいいえA model id or capability profile the plan includes; empty uses the platform's default.
systemPromptstringいいえ—
requireEvalBeforePublishbooleanいいえ—
monthlyTokenBudgetintegerいいえ—
rollingWindowTokenBudgetintegerいいえ—
disableAutoToolExecutionbooleanいいえ—
approvalChannelIdstringいいえTrimmed, then at most 60 characters; empty keeps approvals in the console.
localestringいいえ値: en, zh-TW, zh-CN, ja, th.
auditRetentionDaysinteger または nullいいえNull keeps every audit record.
gatewayActivityRetentionDaysinteger または nullいいえNull keeps every AI Gateway activity record; a number deletes older records.
taskFocusedbooleanいいえ—
generalAssistantEnabledbooleanいいえ—
timeZonestringいいえAn IANA time zone; empty uses the platform's.

InstructionVersion#

フィールド型必須説明
seqintegerはいThe version's number in the workspace, from 1.
systemPromptstringはい—
changedByAccountIdstring または nullはいThe member who set it; null for a version the platform wrote.
createdAtstring (date-time)はい—

InstructionVersionPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsInstructionVersion[]はい—

WorkspaceModule#

フィールド型必須説明
modulestringはいThe product (deployment, studio, aiRouting, channelSdk, apiGateway, or one added later).
enabledbooleanはい—
planstringはいThe product's plan (such as free).

WorkspaceModuleList#

フィールド型必須説明
itemsWorkspaceModule[]はい—

Team#

フィールド型必須説明
idstringはい—
namestringはい—
memberCountintegerはい—
createdAtstring (date-time)はい—
viewerRolestring または nullはいThe acting member's role in the team (manager or member); null when not on it.

TeamPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsTeam[]はい—
truncatedbooleanはいThe workspace has more teams than the platform lists.

Member#

フィールド型必須説明
accountIdstringはい—
emailstring または nullはい—
rolestringはい—
statusstringはい—
createdAtstring (date-time)はいWhen the membership began.

MemberPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsMember[]はい—
truncatedbooleanはいThe workspace has more members than the platform lists.

Model#

フィールド型必須説明
providerstringはい—
idstringはい—
displayNamestringはい—
isDefaultbooleanはいThe platform's default model.
entitledbooleanはいThe workspace's plan includes it; a run naming one it does not is refused.

ResolvedModel#

フィールド型必須説明
idstringはい—
entitledbooleanはい—

ModelCatalog#

フィールド型必須説明
itemsModel[]はい—
capabilityProfilesobject[]はいModel choices by capability rather than by name, such as agentlab/balanced.
capabilityProfiles[].idstringはい—
capabilityProfiles[].tierstringはい—
platformDefaultResolvedModelはい—
workspaceDefaultResolvedModelはい—

KnowledgeAudience#

Who may retrieve it: organization, every member; team, the named teams and the workspace's owners and administrators.

型値
string値: organization, team.

KnowledgeDocument#

フィールド型必須説明
idstringはい—
titlestringはい—
sourceTypestringはいmarkdown, text or pdf.
byteSizeintegerはい—
statusstringはいqueued, indexing, waiting_for_confirmation, waiting_for_allowance, ready or failed. Only a ready document contributes to answers. Clients tolerate values added later.
descriptionstringはいThe summary indexing wrote; empty until ready.
sectionCountintegerはい—
errorstring または nullはいWhy indexing failed, for the developer's logs.
failureCodestring または nullはいA stable reason for some failures, such as spend_cap_reached.
estimatedCostMicrosintegerはいIndexing's estimated cost, in millionths of a US dollar.
spendCapMicrosintegerはい—
audienceKnowledgeAudienceはい—
personalbooleanはいThe acting member's own document, which no one else sees.
createdAtstring (date-time)はい—

KnowledgeDocumentPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsKnowledgeDocument[]はい—

KnowledgeDocumentUpload#

フィールド型必須説明
titlestringはい—
sourceTypestringはい値: markdown, text, pdf.
contentstringはいThe text, or for pdf the file base64-encoded.
audienceKnowledgeAudienceいいえ—
audienceTeamIdsstring (uuid)[]いいえWith audience: team, the teams it admits, by id.

KnowledgeQAEntry#

フィールド型必須説明
idstringはい—
questionstringはい—
answerstringはい—
audienceKnowledgeAudienceはい—
createdAtstring (date-time)はい—
updatedAtstring (date-time)はい—

KnowledgeQAPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsKnowledgeQAEntry[]はい—

KnowledgeQACreate#

フィールド型必須説明
questionstringはい—
answerstringはい—
audienceKnowledgeAudienceいいえ—
audienceTeamIdsstring (uuid)[]いいえWith audience: team, the teams it admits, by id.

KnowledgeQAUpdate#

フィールド型必須説明
questionstringはい—
answerstringはい—

Channel#

フィールド型必須説明
idstringはい—
providerstringはいslack, line or teams. Clients tolerate values added later.
teamNamestringはいThe provider workspace or official account's name.
teamRefstringはいThe provider's own id for it.
statusstringはいconnected or revoked. Clients tolerate values added later.
scopeCoveragestringはいWhether the provider granted everything the platform asks for.
ambientReadinessstringはいWhether the platform can answer in it without being mentioned.
createdAtstring (date-time)はい—

ChannelPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsChannel[]はい—
truncatedbooleanはいThe workspace has more channels than the platform lists.

LineConnect#

A LINE official account's Messaging API credentials. Never answered.

フィールド型必須説明
channelSecretstringはい—
accessTokenstringはい—

LinePushBudget#

フィールド型必須説明
ceilingintegerはいPushes the workspace's LINE summaries may send each calendar month; 0 sends none.

ConnectLinkCreate#

フィールド型必須説明
redirectUristringはいWhere the browser returns, one of the application's registered redirect URIs.
フィールド型必須説明
urlstringはいOpen it in the acting member's browser, once.
expiresAtstring (date-time)はいAfter this the link connects nothing; ask for another.

EngagementPolicy#

フィールド型必須説明
channelRefstringはいThe provider's own id of the room.
modestringはいaddressed_only or ambient. Clients tolerate values added later.
standingOrdersstringいいえWhat the assistant follows in this room; empty for none.

EngagementPolicyPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsEngagementPolicy[]はい—
truncatedbooleanはいThe channel has more policies than the platform lists.

ChannelIdentity#

フィールド型必須説明
idstringはい—
providerUserIdstringはいThe provider's own id of the user.
accountIdstringはいThe member it is bound to.
evidencestringはいWhat was verified when it was bound. Clients tolerate values added later.
createdAtstring (date-time)はい—

ChannelIdentityPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsChannelIdentity[]はい—
scopestringはいown, the acting member's binding only, or workspace, everyone's.
truncatedbooleanはいThe workspace has more bindings than the platform lists.

LineQuota#

フィールド型必須説明
knownbooleanはいLINE answered.
limitedbooleanはいThe official account's plan caps pushes per month.
limitintegerはい—
usedintegerはい—

Conversation#

フィールド型必須説明
idstringはい—
workspaceIdstringはい—
categorystringはいconversation, one a person started; background, one automation started; evaluation, an evaluation run's. Clients tolerate values added later.
channelbooleanはいHeld in a channel (Slack, LINE, Teams) rather than in Agent Lab.
agentRefstring または nullはいWhat it was held with, opaque, for grouping; not a resource of this API.
titlestringはいThe name a reader sees; the member's own name when they gave one.
customTitlestringはいThe member's own name for it; empty when they gave none.
archivedbooleanはい—
pinnedbooleanはい—
unseenbooleanはいIt holds a reply the acting member has not opened; only ever true for the member who started it.
updatedAtstring (date-time)はい—

ConversationPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsConversation[]はい—

ConversationMessage#

フィールド型必須説明
idstringはい—
rolestringはいuser or assistant. Clients tolerate values added later.
statusstringはいpending while a reply is being written, completed or failed. Clients tolerate values added later.
contentstringはい—
refusalstring または nullはいWhat stopped this reply, as a stable code, such as budget. Clients tolerate values added later.
stoppedbooleanはいThe member stopped this reply; its content is what had been written.
attachmentsConversationAttachment[]はいThe files the member attached to this message; empty on a read by anyone but the member who started the conversation.
createdAtstring (date-time)はい—

ConversationDetail#

フィールド型必須説明
conversationConversationはい—
messagesConversationMessage[]はい—

ConversationStateChange#

Only what is sent changes. pinned and archived are never both true.

フィールド型必須説明
titlestringいいえThe member's own name for it; empty clears it back to the generated one.
pinnedbooleanいいえ—
archivedbooleanいいえArchiving also unpins it.
seenbooleanいいえThe member opened it. Nothing marks a conversation unread. 値: true.

ConversationAttachment#

フィールド型必須説明
idstringはい—
namestringはい—
sourceTypestringはいmarkdown, text or pdf. Clients tolerate values added later.
byteSizeintegerはい—
archivedbooleanはいArchived after the member who attached it left the workspace.

ConversationAttachmentContent#

フィールド型必須説明
idstringはい—
namestringはい—
sourceTypestringはいmarkdown, text or pdf. Clients tolerate values added later.
byteSizeintegerはい—
archivedbooleanはいArchived after the member who attached it left the workspace.
contentstringはいThe file as it was attached, base64-encoded.

ConversationAttachmentInventory#

フィールド型必須説明
itemsConversationAttachment[]はい—
uploaderActivebooleanはいThe member who started the conversation is still a member; until they leave, their files cannot be archived.

ConversationSearch#

フィールド型必須説明
itemsobject[]はい—
items[].conversationConversationはい—
items[].matchesintegerはいHow many of its messages matched; not what orders the list.
items[].snippetstringはいThe first matching message, clipped.
searchedintegerはいHow many conversations were searched.

ConversationSource#

フィールド型必須説明
kindstringはいschedule or trigger. Clients tolerate values added later.
idstringはい—
namestringいいえIts name; absent once it has been deleted.

BackgroundConversation#

フィールド型必須説明
conversationConversationはい—
outcomestring または nullはいHow its run ended: succeeded, failed, refused or running; null when nobody recorded it. Clients tolerate values added later.
sourceConversationSource または nullはいWhat started it; null when it names nothing.
lastActivitystring (date-time)はい—

BackgroundConversationPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsBackgroundConversation[]はい—

BackgroundConversationSummary#

フィールド型必須説明
groupsobject[]はい—
groups[].sourceConversationSourceはい—
groups[].totalintegerはい—
groups[].succeededintegerはい—
groups[].failedintegerはい—
groups[].refusedintegerはい—
groups[].runningintegerはい—
groups[].unknownintegerはいRuns whose outcome nobody recorded.
groups[].lastFailureAtstring (date-time) または null (date-time)はいThe newest failed or refused run in the window.
unattributedCountintegerはい—
windowintegerはいHow many of the newest background conversations were counted.

BackgroundConversationUnseen#

フィールド型必須説明
countintegerはい—
windowintegerはいHow many of the member's newest background conversations were counted.

PendingAuthorizationList#

フィールド型必須説明
itemsobject[]はい—
items[].toolIdstringはい—
items[].namestringはい—
items[].descriptionstringはい—

McpCatalogEntry#

フィールド型必須説明
idstringはい—
scopestringはいplatform (the platform's own) or workspace (the workspace registered it). Clients tolerate values added later.
namestringはい—
urlstringはいThe connector's MCP server.
authTypestringはいHow a connection authenticates: none, static_bearer, client_credentials or oauth (in the browser, through POST …/mcp/connections). Clients tolerate values added later.
descriptionstringはい—
statusstringはいenabled, disabled or deprecated. Clients tolerate values added later.
healthstringはいunknown, healthy or unhealthy. Clients tolerate values added later.
lastErrorstring または nullはいWhy the last health check failed; null when it did not, or for a member who may not manage connections.
toolsOmittedintegerはいTools the server exposed beyond what the platform keeps.

McpCatalog#

フィールド型必須説明
itemsMcpCatalogEntry[]はい—
truncatedbooleanはいThe workspace has more connectors than the platform lists.

McpConnection#

One identity connected to a connector. Its credential is never answered.

フィールド型必須説明
idstringはい—
catalogEntryIdstringはい—
scopestringはいworkspace (shared by everyone) or member (one member's own). Clients tolerate values added later.
labelstring または nullはいNames one of several shared identities of a connector.
authTypestringはいAs the connector's authType.
statusstringはいconnected, needs_reauth (connect again with POST …/mcp/connections) or revoked. Clients tolerate values added later.
ownedByMebooleanはいIt is the acting member's own.
delegationModestringはいWhose permission applies at the connector, in the platform's delegation taxonomy. Clients tolerate values added later.
appliesMemberPermissionbooleanはいCalls act with the member's own permission at the connector.
credentialExpiresbooleanはいThe credential is short-lived and renewed.
outputPolicystringはいWho may read what its calls answer: inherit, workspace or personal. Clients tolerate values added later.

McpConnectionPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsMcpConnection[]はい—

McpConnectionCreate#

フィールド型必須説明
catalogEntryIdstringはいThe connector, one the workspace registered.
scopestringはいShared by everyone, or the acting member's own. 値: workspace, member.
labelstringいいえNames one of several shared identities; only with workspace.
redirectUristringはいWhere the browser returns, one of the application's registered redirect URIs.

McpTool#

フィールド型必須説明
namestringはい—
descriptionstringはい—
serverDeclaredReadOnlyboolean または nullはいThe server's own claim, null when it makes none; it never lowers the approval bar.
workspaceReadOnlyboolean または nullはいThe workspace's own declaration, null when it made none; this, never the server's claim, decides whether a call waits for approval.

McpToolList#

フィールド型必須説明
itemsMcpTool[]はい—

ToolCredential#

The identity a tool presents. The credential itself is never answered.

フィールド型必須説明
idstringはい—
toolIdstringはい—
scopestringはいworkspace (shared by everyone) or member (one member's own). Clients tolerate values added later.
ownedByMebooleanはいIt is the acting member's own.
delegationModestringはいWhose permission applies downstream, in the platform's delegation taxonomy. Clients tolerate values added later.
appliesMemberPermissionbooleanはい—
credentialExpiresbooleanはい—
statusstringはいconnected or revoked. Clients tolerate values added later.

ToolCredentialList#

フィールド型必須説明
itemsToolCredential[]はい—
truncatedbooleanはいThe workspace has more tool credentials than the platform lists.

ToolCredentialCreate#

フィールド型必須説明
toolIdstringはい—
tokenstringはいThe credential the tool presents. Never answered.

OAuthError#

フィールド型必須説明
errorstringはい—
error_descriptionstringいいえ—

LegacyErrorString#

The body these operations answered before this document; kept within v1.

フィールド型必須説明
errorstringはい—

LegacyErrorCode#

The body this operation answered before this document; kept within v1.

フィールド型必須説明
errorobjectはい—
error.codestringはい—

TokenRequest#

フィールド型必須説明
grant_typestringはい値: authorization_code, refresh_token, client_credentials.
codestringいいえ—
code_verifierstringいいえ—
client_idstringいいえ—
client_secretstringいいえclient_secret_post; a workspace application's secret.
redirect_uristringいいえ—
resourcestringいいえ—
refresh_tokenstringいいえ—
installation_idstringいいえclient_credentials: the installation, by id.
workspace_idstringいいえclient_credentials: the installation, by the workspace it is in.
scopestringいいえclient_credentials: install or absent.

TokenResponse#

フィールド型必須説明
access_tokenstringはい—
token_typestringはい値: Bearer.
expires_inintegerはいSeconds.
refresh_tokenstringいいえ—
scopestringはいSpace-separated.
id_tokenstringいいえPresent when openid was granted to an operators' own application.

InstallationTokenResponse#

An installation token (client_credentials).

フィールド型必須説明
access_tokenstringはい—
token_typestringはい値: Bearer.
expires_inintegerはいSeconds.
scopestringはい—
installation_idstringはい—
workspace_idstringはい—

InstallResult#

An install request's code answers where the application was installed, and no token.

フィールド型必須説明
installation_idstringはい—
workspace_idstringはい—
scopestringはい—

Introspection#

フィールド型必須説明
activebooleanはい—
substringいいえThe account id.
client_idstringいいえ—
scopestringいいえSpace-separated.
expintegerいいえUnix seconds.
audstringいいえ—
issstringいいえ—
token_typestringいいえ値: Bearer.
workspace_idstringいいえAn installation token names its workspace.

UserInfo#

フィールド型必須説明
substringはい—
workspace_idstringはい—
workspace_slugstringいいえ—
workspace_namestringいいえ—
emailstringいいえ—
email_verifiedbooleanいいえ—
namestringいいえ—

OpenIDConfiguration#

フィールド型必須説明
issuerstringはい—
authorization_endpointstringはい—
token_endpointstringはい—
userinfo_endpointstringはい—
revocation_endpointstringいいえ—
introspection_endpointstringいいえ—
jwks_uristringはい—
response_types_supportedstring[]はい—
grant_types_supportedstring[]いいえ—
subject_types_supportedstring[]はい—
id_token_signing_alg_values_supportedstring[]はい—
code_challenge_methods_supportedstring[]いいえ—
token_endpoint_auth_methods_supportedstring[]いいえ—
introspection_endpoint_auth_methods_supportedstring[]いいえ—
scopes_supportedstring[]いいえ—
claims_supportedstring[]いいえ—

AuthorizationServerMetadata#

フィールド型必須説明
issuerstringはい—
authorization_endpointstringはい—
token_endpointstringはい—
revocation_endpointstringいいえ—
registration_endpointstringいいえ—
response_types_supportedstring[]はい—
grant_types_supportedstring[]いいえ—
code_challenge_methods_supportedstring[]いいえ—
token_endpoint_auth_methods_supportedstring[]いいえ—
scopes_supportedstring[]いいえ—
client_id_metadata_document_supportedbooleanいいえ—

SdkEventVerificationKey#

フィールド型必須説明
versionstringはいagentlab-sdk-event-v1-ed25519.
keyIdstringはい—
algorithmstringはい値: Ed25519.
publicKeystringはいbase64url, no padding.

SdkReply#

フィールド型必須説明
versionstringはい値: sdk-event/v1.
correlationIdstring (uuid)はいThe delivered event's correlationId.
contentstringはいThe answer's text; not blank.

Problem#

フィールド型必須説明
fieldstringはいThe request's JSON path to the value, such as agent.skills[0].name.
reasonstringはいFor the developer; not for display to a person, and never parsed.

RunCreate#

フィールド型必須説明
conversationIdstring (uuid)いいえA run conversation of this member and installation to continue; omitted starts a new one.
agentAgentConfigはい—
inputRunInputMessage[]はいThe member's message.
backgroundbooleanいいえAn automation with no reader waiting; not streamed. 既定値: false.
replyToobjectいいえ—
replyTo.eventIdstring (uuid)はいThe eventId of an sdk-event/v1 event delivered to this installation's application, accepted and not yet answered, that no other run answers (a run that failed, was cancelled or could not deliver no longer does).
metadataRunMetadataいいえ—

EvaluationRunCreate#

フィールド型必須説明
agentAgentConfigはい—
casesEvaluationCase[]はいThe cases to ask, each with an id no other case of the run has.

EvaluationCase#

フィールド型必須説明
idstringはいThe application's own id for the case, echoed back with its result; no surrounding spaces.
titlestringいいえA name for the case; omitted, the start of its question.
inputRunInputMessage[]はいThe member's message the case asks; at most 1000 characters in all.
expectationsEvaluationExpectationsはい—
weightintegerいいえWhat the case counts for beside the others. 既定値: 1.

EvaluationExpectations#

フィールド型必須説明
rubricstringはいWhat a good answer does, which the platform's judge reads; no surrounding spaces.
requiredToolsstring[]いいえTools the answer must have used successfully, by name. Each name at most 120 bytes in UTF-8, listed once, no surrounding spaces.
forbiddenToolsstring[]いいえTools the answer must not reach for at all, by name; none also required. Each name at most 120 bytes in UTF-8, listed once, no surrounding spaces.
groundingRequiredbooleanいいえThe answer must rest on the configuration's knowledge. 既定値: false.
mustContainstring[]いいえPhrases every one of which the answer's text must contain, checked without the judge: a missing phrase fails the case whatever the judge thinks. Compared after Unicode case folding, NFC and collapsing every run of whitespace to one space, as a substring (not a word). Each phrase listed once in that form, no surrounding spaces.
mustNotContainstring[]いいえPhrases none of which the answer's text may contain, compared as mustContain is; a phrase found fails the case whatever the judge thinks. None may sit inside a mustContain phrase. Each phrase listed once in that form, no surrounding spaces.

EvaluationRun#

フィールド型必須説明
idstringはい—
statusstringはいrunning, completed (every case answered and judged) or failed (reason says why). Clients tolerate values added later. 値: running, completed, failed.
reasonstring または nullはいWhy the run failed; null otherwise.
passedintegerはいCases judged so far that passed.
failedintegerはいCases judged so far that did not pass, an error verdict included.
casesEvaluationCaseResult[]はい—
createdAtstring (date-time)はいWhen the run started; on the 202, when the start was answered, which may differ by a moment.
completedAtstring (date-time) または null (date-time)はい—

EvaluationCaseResult#

フィールド型必須説明
idstringはいThe case's id as the application sent it.
resultnull または EvaluationVerdictはいThe answer and the judge's verdict; null until the case is answered and judged.

EvaluationVerdict#

フィールド型必須説明
verdictstringはいpass, fail, or error (the case could not be answered or judged). Clients tolerate values added later. 値: pass, fail, error.
outputstringはいThe answer's text.
rationalestringはいThe judge's reasoning, or why the case could not be answered.
refusalstring または nullはいWhich limit refused the answer, when the verdict is error for that reason.
modelstringはいThe model that answered; empty when none did.
durationMsintegerはいHow long the answer took; 0 when not recorded.
toolCallsobject[]はいThe tools the answer reached for, in order, and how each call ended.
toolCalls[].namestringはい—
toolCalls[].statusstringはいHow the call ended (succeeded, failed, rejected for a call declined because it waited for a person, refused). Clients tolerate values added later.
weightintegerはいWhat the case counted for; 0 when not recorded.
phraseFailuresobject[]はいEvery mustContain phrase the answer's text lacks and every mustNotContain phrase it has, as the application sent it, whatever else decided the verdict; empty when the verdict is error or every phrase held.
phraseFailures[].expectationstringはいmustContain or mustNotContain: the list the phrase came from. 値: mustContain, mustNotContain.
phraseFailures[].phrasestringはい—

DeploymentCreate#

フィールド型必須説明
entryKindstringはいslack, slack_channel or line; values may be added later.
entryRefstringはいThe entry point in the channel's own terms, as createDeployment describes.
agentAgentConfigいいえ—

DeployedAgentReplace#

フィールド型必須説明
agentAgentConfigはい—
expectedRevisionintegerはいThe revision this replaces, as the deployment answered it; 0 for the first.

DeployedAgent#

フィールド型必須説明
agentRefstring または nullはいThe deployed configuration's ref, null when it named none.
revisionintegerはいCounts the configurations deployed to this entry; the next replacement names it.
deployedAtstring (date-time)はい—

Deployment#

フィールド型必須説明
idstringはい—
entryKindstringはい—
entryRefstringはい—
statusstringはいactive or disabled; clients tolerate values added later.
responderstringはいapplication, a registered application answers the entry; agent, an assistant the console deployed. Clients tolerate values added later.
applicationIdstring または nullはいThe registered application that answers the entry, null for an assistant.
thisApplicationbooleanはいThe calling installation's application answers the entry.
agentDeployedAgent または nullはいThe entry's deployed configuration, which the platform answers its events with; null when its events are delivered to the application, or the entry is not an application's. A first PUT …/agent names expectedRevision: 0.
createdAtstring (date-time)はい—

DeploymentPage#

フィールド型必須説明
nextCursorstring または nullいいえAbsent or null on the last page.
itemsDeployment[]はい—

RunMetadata#

The application's own values, kept with the run and answered back; never interpreted.

型値
object—

AgentConfig#

The agent, passed with every run. The platform keeps it with the run and stores no agent.

フィールド型必須説明
refstringいいえThe application's own id for the agent and its version, opaque to the platform; answered back as agentRef.
namestringはい—
instructionsstringはい—
modelstringはい"auto" for the workspace's default, or a model the workspace may use (GET …/models).
skillsInlineSkill[]いいえStanding instructions sent with the agent's, in order; together at most 6000 characters with their headings.
toolsRunTool[]いいえThe tools the agent may call, and nothing else: no platform tools, no member's own connections beyond those named. Each runs under the platform's tool authority, bound to this configuration: a call approved under it never runs under another.
knowledgeRunKnowledgeいいえ—

RunTool#

type: "mcp": the tools of an MCP connection, by connectionId — the member's own, or an organization-shared one when the member's role may manage connections — narrowed by allowedTools (left out: every tool its server offers); approval is "always", a person approves every call. type: "http": an HTTPS action the configuration defines, presenting no credential: name, description, inputSchema (a JSON Schema object), url, method; approval: "never" lets a GET run unattended when the workspace allows it. A field of the other type is refused.

フィールド型必須説明
typestringはい値: mcp, http.
connectionIdstringいいえ—
allowedToolsstring[]いいえ—
approvalstringはい値: always, never.
namestringいいえ—
descriptionstringいいえ—
inputSchemaobjectいいえ—
urlstringいいえ—
methodstringいいえ値: GET, POST.

RunKnowledge#

What the agent answers from. scope: "listed" (the default) retrieves from the documents and Q&A entries listed; "workspace" from everything in the workspace the member may read. The member's team audience filters either.

contextProvider: "self" asks the calling application instead, on every turn: the platform sends a signed context-provider/v1 request to the context endpoint the application's registration publishes, and writes what it answers into the turn as it writes its own knowledge. It is the answer's only knowledge, so it is refused beside documentIds, qaIds or scope: "workspace"; and it is refused before the run starts when the installation is not granted context:provide or the registration publishes no context endpoint. A turn whose request fails (timeout, error, invalid answer, the installation revoked since) is answered without knowledge, and nothing is recorded as its grounding.

フィールド型必須説明
documentIdsstring[]いいえ—
qaIdsstring[]いいえEvery listed entry the member may read is sent with each answer.
scopestringいいえ値: listed, workspace.
contextProviderstringいいえ値: self.

InlineSkill#

フィールド型必須説明
namestringはい—
instructionsstringはい—

RunInputMessage#

フィールド型必須説明
rolestringはい値: user.
contentRunTextPart[]はいText parts, joined with a blank line; at most 4000 characters in all.

RunTextPart#

フィールド型必須説明
typestringはい値: text.
textstringはい—

Run#

フィールド型必須説明
idstringはい—
conversationIdstringはい—
statusstringはいqueued, running, requires_action (a tool call waits for approval), completed, failed (cancelled says whether it was stopped), or refused (a limit refused the answer; refusal says which). Clients tolerate values added later. 値: queued, running, requires_action, completed, failed, refused.
agentRefstring または nullはいThe configuration's ref; null when it had none.
outputRunOutputMessage[] または nullはいThe answer, when completed.
refusalstring または nullはいWhich limit refused the answer, when refused.
metadataRunMetadataいいえ—
backgroundbooleanいいえ—
cancelledbooleanいいえThe run was stopped (POST …/runs/{runId}/cancel) before it finished; its status is failed.
replyToobject または nullいいえThe event the run answers, when it was started with replyTo.
replyTo.eventIdstringはい—
replyTo.deliverystringはいpending until the run settles; delivered; or not_delivered, the run did not complete or the event could no longer be answered (the application may still answer it with POST /v1/sdk/replies). Clients tolerate values added later. 値: pending, delivered, not_delivered.
requiredActionnull または RunRequiredActionいいえWhat the run waits on, when requires_action; else null.
createdAtstring (date-time)はい—

RunEvents#

Server-sent events, each event: <name> and one data: line of JSON:

  • run: the whole Run; first, whenever its status changes, and last when it settles.
  • output_text.delta: {"delta": string}, text the answer gained while running. The settled run event carries the whole answer.
  • error: an Error; the run could not be read, and the stream ends.

Lines starting with : keep the connection open. The stream ends when the run settles, or after ten minutes; read or stream the run again with GET …/runs/{runId}. A streamed POST under Idempotency-Key keeps the events written before the stream ended, and a retry replays exactly those; read the run with GET for where it stands.

型値
string—

RunRequiredAction#

フィールド型必須説明
toolApprovalsToolApproval[]はい—

ToolApproval#

フィールド型必須説明
idstringはい—
namestringはいThe tool, as the agent called it (an MCP tool's name is prefixed mcp__).
argumentsobjectはいWhat the agent passed.
readOnlyboolean または nullはいThe risk the workspace declared for this tool: true read-only, false writing, null undeclared (approved as destructive).
reasonstring または nullはいWhy the call waits for a person beyond the configuration asking, when there is one.
createdAtstring (date-time)はい—

ToolApprovalDecision#

フィールド型必須説明
decisionstringはい値: approve, reject.

RunOutputMessage#

フィールド型必須説明
rolestringはい値: assistant.
contentobject[]はい—
content[].typestringはい値: text.
content[].textstringはい—

UsageReport#

フィールド型必須説明
sinceDaysintegerはいThe window the report covers, in days.
itemsAgentRefUsage[]はい—
truncatedbooleanはいThere are more groups than the report lists.

AgentRefUsage#

フィールド型必須説明
agentRefstring または nullはいThe configuration's ref; null for configurations passed without one.
kindstringはいrun or evaluation. Clients tolerate values added later.
turnsintegerはいReplies answered.
modelCallsintegerはいModel calls made for those replies; a reply that calls tools makes several.
inputTokensintegerはいInput tokens charged at the full rate (not read from or written to a cache).
outputTokensintegerはい—
cachedReadTokensintegerはい—
cacheWriteTokensintegerはい—
costnull または UsageCostはいWhat it cost at the workspace's prices; null for a member who may not read cost.

UsageCost#

フィールド型必須説明
amountUsdnumberはい—
pricingCompletebooleanはいEvery model was priced at the workspace's prices. When false, the models in unpricedModels are counted at the platform's list price where it has one.
unpricedModelsstring[]はい—

MemoryFact#

フィールド型必須説明
idstringはい—
kindstringはいstanding or episodic. Clients tolerate values added later.
bodystringはいOne sentence, at most 1000 characters.
sourceLabelstringはいWhere it was learned, as the console names it.
sourceTrustedbooleanはい—
explicitbooleanはいSomeone stated it deliberately, rather than an assistant inferring it.
organizationWidebooleanはい—
capturedAtstring (date-time)はい—

MemoryRevision#

フィールド型必須説明
idstringはい—
opstringはいWhat the line records, such as edit or delete. Clients tolerate values added later.
bodystringはい—
authorAccountIdstring または nullはいThe member who made the change; null when an assistant made it.
atstring (date-time)はい—

MemoryNotebook#

フィールド型必須説明
standingMemoryFact[]はい—
episodicMemoryFact[]はい—
historyMemoryRevision[]はいThe 50 newest history lines, newest first.
historyTruncatedbooleanはい—

MemoryFactEdit#

フィールド型必須説明
expectedBodystringはいThe fact's sentence as last read.
bodystringはい—

TranscriptionCreate#

フィールド型必須説明
audiostringはいA mono 16 kHz 16-bit PCM WAV of at most two minutes, base64-encoded.

Transcription#

フィールド型必須説明
textstringはい—

OutreachSend#

フィールド型必須説明
targetUserRefstringいいえA person, by their Slack user id. Exactly one of this and targetChannelRef.
targetChannelRefstringいいえA channel, by its Slack id. Exactly one of this and targetUserRef.
bodystringはいThe message, at most 4000 characters.
reasonstringはいWhy it is sent, at most 300 characters; kept with the message.

OutreachMessage#

フィールド型必須説明
idstringはい—
channelIdstringはいThe channel it was sent through.
targetRefstringはいThe Slack conversation it was posted to (a direct message's, for a person).
bodystringはい—
reasonstringはい—
statusstringはいpending, sent, abandoned or unknown. Clients tolerate values added later.
attemptsintegerはい—
lastErrorstringはいWhy the latest attempt failed; empty when none did.
createdAtstring (date-time)はい—

OutreachList#

フィールド型必須説明
itemsOutreachMessage[]はい—
truncatedbooleanはいThe member has older sends in the workspace than the 50 that were read.

Gateway#

フィールド型必須説明
enabledbooleanはい—
operatorDisabledbooleanはいAgent Lab turned the Gateway off for this workspace.
plannull または GatewayPlanはいNull while the Gateway is off, and for a member who may not read usage.

GatewayPlan#

フィールド型必須説明
planstringはいThe plan's name. Clients tolerate values added later.
sourcestringはいWhere the plan comes from. Clients tolerate values added later.
includedRequestsinteger または nullはいThe requests the plan includes this month; null when it does not limit them.
usedRequestsinteger または nullはいThe requests made this month; null when they are not counted.
periodStartstring (date-time)はい—
periodEndstring (date-time)はい—
asOfstring (date-time)はい—
spendCapUsdnumber または nullはいThe plan's model-spend ceiling; null without one.
spentUsdnumber または nullはいAll Gateway spend the workspace made; null when some of it has no price.
creditnull または GatewayCreditはいThe prepaid credit; null before the first credit.

GatewayCredit#

フィールド型必須説明
creditedUsdnumberはいEvery top-up, contract credit and redeemed code.
spentUsdnumber または nullはいWhat was drawn from it; null when some spend has no price.
balanceUsdnumber または nullはいWhat is left; null when the spend is not known.