Get detailed project page information
Returns the full project page data (including language, category, story, ai usage and buttons). The project of the tenant's `common` platform also carries the own-keys buttons: `ExtraKeyTabButton` (the own-keys block is shown), `ExtraKeyEditButton` (edit a text, AI-translate, delete), `ExtraKeyAddButton` and `ExtraKeyImportButton` (also need room under `max_keys`). Each is present exactly when its endpoint would accept the call.
Authorization
BearerAuthObject Machine tokens only: a personal API token or a product robot token (POST /api/v2/products/{uid}/robot-tokens). A session JWT here is 401 — the web app uses the b2t_access cookie.
In: header
Path Parameters
The project ID
Query Parameters
Optional story ID
Optional category ID
Optional language ID
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/page-information/project/76?storyId=1&categoryId=1&languageId=1"{ "project": { "id": 24, "name": "Main Project" }, "category": { "id": 2, "name": "Marketing" }, "language": { "id": 1, "lang": "en", "name": "English", "dir": "ltr" }, "story": { "id": 5, "name": "Intro" }, "projectType": { "id": 7, "name": "Mobile App", "languageId": 1, "lang": "en" }, "aiUsage": { "aiLanguages": [ "en", "fr" ], "defaultLanguage": "en", "balance": 4.7, "total": 9 }, "buttons": [ "ProjectCategoryCreateButton", "ProjectSourceCreateButton", "ProjectSendToButton" ]}{ "message": { "error": "Your request was made with invalid credentials." }}{ "message": { "error": "You are not allowed to perform this action." }}{ "message": { "error": "Page not found" }}{ "message": { "error": "Oops! Something went wrong! Write to administrator. Your Request Id {f1177aee-9a99-42f0-a23f-4dd29fc39b65-672e0df972ccb}" }}