Get Slides Job

Get the status of a job you started, with the deck and any exported file once it succeeds. Jobs started by someone else read as not found. A job interrupted by a server restart reads as failed; start it again.

OAuth scope: api:read.

GET/api/v2/slides/jobs/{jobId}
X-API-Key<token>

Your Agent Serve API key, personal or workspace-scoped. Generate one under Settings, then API Keys. Operations that reject workspace keys say so in their own description.

In: header

Path Parameters

jobId*string

Job identifier.

Length1 <= length <= 64

Query Parameters

workspaceId*string

Workspace the request is authorized against.

Length1 <= length <= 128

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://agentserve.valnoraelric.com/api/v2/slides/jobs/string?workspaceId=string" \  -H "X-API-Key: YOUR_API_KEY"
{
  "data": {
    "id": "job-123",
    "kind": "generate",
    "status": "succeeded",
    "progress": {
      "stage": "done",
      "message": "Done"
    },
    "workspaceId": "workspace-123",
    "spaceId": "space-123",
    "docId": "doc-123",
    "editUrl": "https://agentserve.valnoraelric.com/workspace/workspace-123/spaces/space-123/doc-123",
    "result": {
      "docId": "doc-123",
      "title": "Q3 sales review",
      "slideCount": 8,
      "reply": "I wrote an eight-slide review of the quarter.",
      "export": {
        "format": "pptx",
        "fileId": "file-123",
        "fileName": "Q3 sales review.pptx",
        "sizeBytes": 482113,
        "downloadPath": "/api/v2/files/file-123?workspaceId=workspace-123"
      }
    },
    "error": null,
    "createdAt": "2026-11-02T09:00:00.000Z",
    "updatedAt": "2026-11-02T09:01:40.000Z",
    "completedAt": "2026-11-02T09:01:40.000Z"
  }
}
{
  "error": {
    "code": "BAD_REQUEST",
    "message": "Invalid request"
  }
}
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Authentication required"
  }
}
{
  "error": {
    "code": "FORBIDDEN",
    "message": "Insufficient workspace permissions",
    "details": {
      "code": "INSUFFICIENT_WORKSPACE_ROLE"
    }
  }
}
{
  "error": {
    "code": "NOT_FOUND",
    "message": "Not found"
  }
}
{
  "error": {
    "code": "RATE_LIMITED",
    "message": "API rate limit exceeded",
    "details": {
      "retryAfter": "2026-01-01T00:00:30.000Z"
    }
  }
}
{
  "error": {
    "code": "INTERNAL_ERROR",
    "message": "Internal server error"
  }
}
{
  "error": {
    "code": "SERVICE_UNAVAILABLE",
    "message": "Service temporarily unavailable"
  }
}