Skip to main content
GET
/
v0
/
agents
/
{id}
Get agent status
curl --request GET \
  --url https://cloud.firebender.com/v0/agents/{id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "fb_abc123xyz789",
  "name": "Add README Documentation",
  "status": "CREATING",
  "source": {
    "repository": "https://github.com/your-org/your-repo",
    "ref": "main"
  },
  "target": {
    "url": "https://firebender.com/agents?id=fb_abc123xyz789",
    "branchName": "firebender/abc123xyz789",
    "prUrl": "https://github.com/your-org/your-repo/pull/1234",
    "autoCreatePr": false
  },
  "createdAt": "2024-01-15T10:30:00Z",
  "summary": "Added README.md with installation instructions and usage examples"
}

Authorizations

X-API-Key
string
header
required

API key from Firebender Dashboard

Path Parameters

id
string
required

Unique identifier for the cloud agent

Example:

"fb_abc123xyz789"

Response

Agent details retrieved successfully

id
string
required

Unique identifier for the cloud agent

Example:

"fb_abc123xyz789"

name
string
required

Name for the agent (derived from prompt)

Example:

"Add README Documentation"

status
enum<string>
required

Current status of the cloud agent:

  • CREATING: VM is being provisioned
  • RUNNING: Agent is actively working
  • FINISHED: Agent completed successfully
  • ERROR: Agent encountered an error
  • EXPIRED: Agent timed out
Available options:
CREATING,
RUNNING,
FINISHED,
ERROR,
EXPIRED
source
object
required
target
object
required
createdAt
string<date-time>
required

When the agent was created

Example:

"2024-01-15T10:30:00Z"

summary
string

Summary of the agent's work (available after completion)

Example:

"Added README.md with installation instructions and usage examples"