Section ID:
DOC-API-MODEL-schema-pjk9r8rn5b#overview
SourcePromptTemplate
Source persona template to convert into an agent profile during import. Its source_dsl contains the original template syntax from which the importer derives the profile template and variable specifications.
Meaning and usage
Section ID: DOC-API-MODEL-schema-pjk9r8rn5b#meaning
See the definition above.
Usage profiles
Section ID: DOC-API-MODEL-schema-pjk9r8rn5b#fields
| Usage | Fields and validation |
|---|---|
| In requests | View fields |
In requests
Section ID: DOC-API-MODEL-schema-pjk9r8rn5b#request
API JSON uses JSON field names (camelCase).
| Field | Type | Presence | Meaning |
|---|---|---|---|
Section ID: DOC-API-MODEL-schema-pjk9r8rn5b#field-profileidSection ID: DOC-API-MODEL-schema-pjk9r8rn5b#request-field-profileidprofileId | string | Optional | Identifier of the agent profile associated with the operation or generation. |
Section ID: DOC-API-MODEL-schema-pjk9r8rn5b#field-nameSection ID: DOC-API-MODEL-schema-pjk9r8rn5b#request-field-namename | string | Optional | Display name for the imported agent profile. |
Section ID: DOC-API-MODEL-schema-pjk9r8rn5b#field-whentouseSection ID: DOC-API-MODEL-schema-pjk9r8rn5b#request-field-whentousewhenToUse | string | Optional | Instructions describing when the imported agent profile should be selected. |
Section ID: DOC-API-MODEL-schema-pjk9r8rn5b#field-keywordsSection ID: DOC-API-MODEL-schema-pjk9r8rn5b#request-field-keywordskeywords | Array of string | Optional | Keywords associated with selection of the imported agent profile. |
Section ID: DOC-API-MODEL-schema-pjk9r8rn5b#field-sourcedslSection ID: DOC-API-MODEL-schema-pjk9r8rn5b#request-field-sourcedslsourceDsl | string | Optional | Raw source-DSL system prompt. |
Section ID: DOC-API-MODEL-schema-pjk9r8rn5b#field-generationconfigSection ID: DOC-API-MODEL-schema-pjk9r8rn5b#request-field-generationconfiggenerationConfig | GenerationConfig | Optional | Generation settings other than the prompt, such as temperature. Must not set model or models: import refuses a template that does, and the model is set afterwards with UpdateAgentProfile. |
Where used
Section ID: DOC-API-MODEL-schema-pjk9r8rn5b#where-used
| Reference | Relationship |
|---|---|
| Import a prompt library | POST /api/v1/agent-profiles/import |
Download the public reference contract.
Document ID: DOC-API-MODEL-schema-pjk9r8rn5b