Skip to main content
POST /v1/agents/{agent_id}/versions
Creates the next agent version of an agent. prompt_text is optional. If you omit it, Bluejay copies the current prompt. POST /v1/agents/{agent_id}/prompts/versions is the deprecated path of this endpoint.

Path parameters

Headers

Request body

Response

Status codes

Example request

Example response

200
Last modified on October 21, 2026