Open Inventory / Docs
EndpointsAiResourcesIdTranslations

Queue stale fields for background translation

The API runs on your application instance. Schemas and field names come directly from the OpenAPI specification. Session-authenticated requests require a session on that instance.

POST
/resources/{id}/translations

Requires ai scope. Omit languageCodes to queue every active target language. Jobs are coalesced per resource and locale and survive restarts.

Authorization

bearerAuth
headerAuthorizationBearer <inv_ token>

Path Parameters

id*string
Formatuuid

Header Parameters

X-Organization-ID?string

Organization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.

Formatuuid

Request Body

application/json
  1. body
languageCodes?array<>
Itemsitems <= 20
force?boolean
Defaultfalse

Response Body

No target-language jobs were needed

Example Request
curl -X POST 'https://inventory.example.com/api/v1/resources/497f6eca-6276-4993-bfeb-53cbbbba6f08/translations' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty