Skip to main content
GET
Get a factory by ID
The reference panel describes the current v3 operation. The notes below describe its v2 compatibility API. Follow the v3 request schema for current calls: v3 can move identifiers from the body or query into the URL. Keep the v2 method, path, and payload together when using the compatibility API.

v2 compatibility notes

GET /api/v2/factories/get?id= returns one FactoryDetail: the Factory fields, team (the first 50 active members as FactoryWorker objects, in the same order as listWorkers), teamPartial (true when the factory has more active members), and recentTasks (up to 20 task summaries with id, _creationTime, title, status and priority). recentTasks follows the task index order, not recency. A missing, malformed, or unreadable ID is 404 resource_missing with the message Factory not found. The response does not say which. Factory configuration, the manager thread, whole task rows, and owner objectives are not returned.

Authorizations

Authorization
string
header
required

An External App: the JWT it obtains from POST /oauth/token with OAuth2 client_credentials. Pass as Authorization: Bearer <jwt>. An app's static companion key also authenticates as the app, but is deprecated and is not protected by Idempotency-Key.

Path Parameters

factoryId
string
required

Response

Factory detail

data
object
required

A factory with its first 50 active team members (teamPartial is true when more exist) and up to 20 of its tasks in index order, not recency.

meta
object
required