Skip to main content
GET
/
agents
/
{agentId}
/
outputs
List agent outputs
curl --request GET \
  --url https://app.autoposting.ai/api-proxy/agents/{agentId}/outputs \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "outputs": [
      {
        "id": "post_01HXYZ",
        "runId": "run_01HXYZ",
        "text": "5 lessons I learned building a SaaS in public...",
        "platforms": [
          "linkedin"
        ],
        "status": "draft",
        "createdAt": "2024-01-10T09:00:45Z"
      }
    ],
    "total": 1
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Path Parameters

agentId
string
required

Agent ID.

Query Parameters

limit
integer
default:50

Items per page. Default: 50.

offset
integer
default:0

Items to skip. Default: 0.

Response

A list of agent outputs.

success
boolean
data
object