---
search:
  tags:
    - Automations
    - POST
seo:
  description: >-
    Atomically claims one pending run. {"run": null} means no work. The legacy…
    Reference for the POST /api/agent/runs/claim endpoint in the BrainyShorts
    API.
sidebar:
  label: Claim a queued run (legacy queue)
  badge: POST
title: Claim a queued run (legacy queue)
type: openapi-operation
---
Atomically claims one pending run. `{"run": null}` means no work. The legacy queue publishes to Instagram only; new integrations should use local automations.

`POST /api/agent/runs/claim`
