Letta · JSON Structure
Letta Job Structure
Flat structure summary of the Letta Job entity, derived from the Letta OpenAPI 1.0.0 spec.
Type:
Properties: 0
AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source
letta-job is a JSON Structure definition published by Letta.
Meta-schema:
JSON Structure
{
"jsonStructure": "0.1",
"name": "letta-job",
"title": "Letta Job",
"description": "Flat structure summary of the Letta Job entity, derived from the Letta OpenAPI 1.0.0 spec.",
"source": "https://raw.githubusercontent.com/letta-ai/letta/main/fern/openapi.json",
"entity": "Job",
"fields": [
{
"name": "created_by_id",
"type": "object",
"required": false,
"description": "The id of the user that made this object.",
"enum": null,
"format": null
},
{
"name": "last_updated_by_id",
"type": "object",
"required": false,
"description": "The id of the user that made this object.",
"enum": null,
"format": null
},
{
"name": "created_at",
"type": "string",
"required": false,
"description": "The unix timestamp of when the job was created.",
"enum": null,
"format": "date-time"
},
{
"name": "updated_at",
"type": "object",
"required": false,
"description": "The timestamp when the object was last updated.",
"enum": null,
"format": null
},
{
"name": "status",
"type": "string",
"required": false,
"description": "Status of the job.",
"enum": [
"created",
"running",
"completed",
"failed",
"pending",
"cancelled",
"expired"
],
"format": null
},
{
"name": "completed_at",
"type": "object",
"required": false,
"description": "The unix timestamp of when the job was completed.",
"enum": null,
"format": null
},
{
"name": "stop_reason",
"type": "object",
"required": false,
"description": "The reason why the job was stopped.",
"enum": null,
"format": null
},
{
"name": "metadata",
"type": "object",
"required": false,
"description": "The metadata of the job.",
"enum": null,
"format": null
},
{
"name": "job_type",
"type": "string",
"required": false,
"description": "",
"enum": [
"job",
"run",
"batch"
],
"format": null
},
{
"name": "background",
"type": "object",
"required": false,
"description": "Whether the job was created in background mode.",
"enum": null,
"format": null
},
{
"name": "agent_id",
"type": "object",
"required": false,
"description": "The agent associated with this job/run.",
"enum": null,
"format": null
},
{
"name": "callback_url",
"type": "object",
"required": false,
"description": "If set, POST to this URL when the job completes.",
"enum": null,
"format": null
},
{
"name": "callback_sent_at",
"type": "object",
"required": false,
"description": "Timestamp when the callback was last attempted.",
"enum": null,
"format": null
},
{
"name": "callback_status_code",
"type": "object",
"required": false,
"description": "HTTP status code returned by the callback endpoint.",
"enum": null,
"format": null
},
{
"name": "callback_error",
"type": "object",
"required": false,
"description": "Optional error message from attempting to POST the callback endpoint.",
"enum": null,
"format": null
},
{
"name": "ttft_ns",
"type": "object",
"required": false,
"description": "Time to first token for a run in nanoseconds",
"enum": null,
"format": null
},
{
"name": "total_duration_ns",
"type": "object",
"required": false,
"description": "Total run duration in nanoseconds",
"enum": null,
"format": null
},
{
"name": "id",
"type": "string",
"required": false,
"description": "The human-friendly ID of the Job",
"enum": null,
"format": null
}
],
"fieldCount": 18,
"requiredCount": 0
}