Agents

Create an agent

Creates an agent with the given model configuration, tools and prompt.

post/v1/agents

Request

  • Base URL
    https://docs.grepr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header GREPR-API-KEY
    • or OpenID Connect (https://grepr-prod.us.auth0.com/.well-known/openid-configuration)

Request body

agentMaxTokensinteger
automaticSignalMaxQueueAgeMinutesinteger
changeApprovalMode'REQUIRE_APPROVAL' | 'AUTO_APPLY' required
concurrencyLimitPolicy'QUEUE' | 'DISCARD'
descriptionstring

What the agent handles, shown to other agents when they list the agents; null for none.

enabledSkillsstring[] required
enabledToolsstring[] required
issueHandoffMode'REQUIRE_TRIAGE' | 'ALLOW_READY'

Whether the agent may put issues in Ready; null falls back to REQUIRE_TRIAGE.

maxConcurrentInvestigationsinteger
maxTokensinteger
maxTurnsinteger
namestring required
serviceAccountIdstring required
systemPromptstring required
worksOnIssuesboolean

Whether the agent files and works on issues; null means true.

Response

Agent created successfully

createdAtstring date-time required
idstring required
namestring required
organizationIdstring required
state'ACTIVE' | 'PAUSED' | 'DELETED'
updatedAtstring date-time required
versioninteger

Changes

No recorded changes to this operation across all 1 revision of this API.