Skip to main content
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#overview

AgentProfile

A reusable persona with model configuration, tools and metadata describing when it should be selected. See the profile-selection and versioning guide for profile resolution and fragment versions.

Meaning and usage​

Section ID: DOC-API-MODEL-schema-1hmbcecg1j#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-1hmbcecg1j#fields

UsageFields and validation
In requestsView fields
In responsesView fields

In requests​

Section ID: DOC-API-MODEL-schema-1hmbcecg1j#request

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#request-field-profileidprofileIdstringOptionalStable id, unique within the project library.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#request-field-namenamestringOptionalSee meaning below.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#request-field-descriptiondescriptionstringOptionalHuman-facing summary.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#request-field-whentousewhenToUsestringOptionalRouting hint, Skill-style "use when…"
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#request-field-keywordskeywordsArray of stringOptionalKeywords associated with discovery or selection of the agent profile.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#request-field-enabledenabledbooleanOptional; explicit presenceWhether the profile is enabled for selection. Omission during creation defaults to true; an explicitly false value creates a disabled profile. Disabled profiles are not selectable.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#request-field-generationconfiggenerationConfigGenerationConfigOptionalModel, sampling, and tool configuration used for generation.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#request-field-mcpserversmcpServersArray of MCPServerReferenceOptionalMCP servers used for tool discovery when this profile is active. This list replaces the conversation-wide MCP server list for those turns.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#request-field-variablespecsvariableSpecsArray of PromptVariableSpecOptionalVariables consumed by the profile’s system-prompt template, rendered from the conversation’s prompt_variables.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#request-field-versionversionstring (int64)OptionalOutput-only immutable revision of the profile. Versions start at one and increase on successful mutations; values supplied on writes are ignored. Pattern: ^-?\d+$.

name

Display name used when selecting an agent profile.

e.g. "Nutrition Coach"

In responses​

Section ID: DOC-API-MODEL-schema-1hmbcecg1j#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#field-profileidSection ID: DOC-API-MODEL-schema-1hmbcecg1j#response-field-profileidprofileIdstringOptionalStable id, unique within the project library.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#field-nameSection ID: DOC-API-MODEL-schema-1hmbcecg1j#response-field-namenamestringOptionalSee meaning below.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#field-descriptionSection ID: DOC-API-MODEL-schema-1hmbcecg1j#response-field-descriptiondescriptionstringOptionalHuman-facing summary.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#field-whentouseSection ID: DOC-API-MODEL-schema-1hmbcecg1j#response-field-whentousewhenToUsestringOptionalRouting hint, Skill-style "use when…"
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#field-keywordsSection ID: DOC-API-MODEL-schema-1hmbcecg1j#response-field-keywordskeywordsArray of stringOptionalKeywords associated with discovery or selection of the agent profile.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#field-enabledSection ID: DOC-API-MODEL-schema-1hmbcecg1j#response-field-enabledenabledbooleanOptional; explicit presenceWhether the profile is enabled for selection. Omission during creation defaults to true; an explicitly false value creates a disabled profile. Disabled profiles are not selectable.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#field-generationconfigSection ID: DOC-API-MODEL-schema-1hmbcecg1j#response-field-generationconfiggenerationConfigGenerationConfigOptionalModel, sampling, and tool configuration used for generation.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#field-mcpserversSection ID: DOC-API-MODEL-schema-1hmbcecg1j#response-field-mcpserversmcpServersArray of MCPServerReferenceOptionalMCP servers used for tool discovery when this profile is active. This list replaces the conversation-wide MCP server list for those turns.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#field-variablespecsSection ID: DOC-API-MODEL-schema-1hmbcecg1j#response-field-variablespecsvariableSpecsArray of PromptVariableSpecOptionalVariables consumed by the profile’s system-prompt template, rendered from the conversation’s prompt_variables.
Section ID: DOC-API-MODEL-schema-1hmbcecg1j#field-versionSection ID: DOC-API-MODEL-schema-1hmbcecg1j#response-field-versionversionstring (int64)OptionalOutput-only immutable revision of the profile. Versions start at one and increase on successful mutations; values supplied on writes are ignored. Pattern: ^-?\d+$.

name

Display name used when selecting an agent profile.

e.g. "Nutrition Coach"

Where used​

Section ID: DOC-API-MODEL-schema-1hmbcecg1j#where-used

ReferenceRelationship
Create an agent profilePOST /api/v1/agent-profiles/create
Get an agent profilePOST /api/v1/agent-profiles/get
Import a prompt libraryPOST /api/v1/agent-profiles/import
List agent profilesPOST /api/v1/agent-profiles/list
Update an agent profilePOST /api/v1/agent-profiles/update

Download the public reference contract.

Document ID: DOC-API-MODEL-schema-1hmbcecg1j