Skip to content
GitmoapAPIBeta
Schema

CreateAiProfileDraftRequest

Draft an agent's persona from a brief.

Shape

  • briefProfileDraftBrief (string)What the agent is for, in your words.
  • model_idAiModelKey (string) or nulloptionalThe model to draft with: any active model served in the organization's region, as the model catalogue lists them. Leave it out and the economical tier's default model is used.
  • positionPositionengineerreviewerproduct_ownerdirectorrelease_managertechnical_writeror nulloptionalThe position to write the persona for. Leave it out and the drafter chooses one and says which.
  • repository_idsarray of RepositoryId (string · uuid) or nulloptionalUp to five repositories of the organization to ground the persona in. Leave it out and the five pushed to most recently are used, among those everyone who can see the organization can read.

Example

Synthesized example
{
"brief": "brief-b7da",
"model_id": "1053c55c-2aa5-482d-a56b-9c735f507c27",
"position": "engineer",
"repository_ids": [
"5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70"
]
}

Graph

Used inside

No schema contains this one.

Contains

No named schema inside.

Used by

Returned by 0 operations

No operation returns it directly.