Skip to content

API V2 (Beta) · Resources

List resources

GET
/v2/branches/{branchId}/resources
curl --request GET \
--url https://api.lingohub.com/v2/branches/prb_0197c8f2-5a6b-7cde-8f12-3456789abcde/resources \
--header 'Authorization: Bearer YOUR_API_KEY'

Returns a cursor-paginated list of the resources in the given project branch. Folders are listed only when the filter has a resource[type] condition; {"where":{"_and":[{"resource[type]":{"_in":["FILE","FOLDER"]}}]}} lists files and folders. Use filter to search and sort resources; iterate by passing next_cursor of the previous page via the cursor query parameter until has_more is false. Requires project-level resource view permission.

branchId
required

Public id that is created from the type prefix of the corresponding resource and its UUID. I.e : For a project branch, a valid value would be : prb_0197c8f2-5a6b-7cde-8f12-3456789abcde

string

Unique identifier of the project branch.

Example

prb_0197c8f2-5a6b-7cde-8f12-3456789abcde
filter
Media typeapplication/json

The filter of a list: which items to return and in which order.

object
where

Exactly one of _and and _or, with the clauses it combines.

object
>= 1 properties <= 1 properties
_and
Array<object>
>= 1 items

A nested _and/_or, or one field with one operator.

object
>= 1 properties <= 1 properties
_and
Array<object> recursive
_or
Array<object> recursive
resource[format]

Exactly one operator of the field.

object
>= 1 properties <= 1 properties
_eq
string
Allowed values: ANDROID_XML IOS_STRINGS IOS_STRINGSDICT IOS_STRINGS_CATALOG STANDARD_PROPERTIES GETTEXT_PO WINDOWS_RESX QT_LINGUIST_TS DEFINE_PHP STANDARD_INI STANDARD_ARB RAILS_YAML SYMFONY_YAML STANDARD_JSON STORYBLOK_JSON ANGULAR_TRANSLATE_JSON CHROME_I18N_JSON GO_I18N_JSON I18NEXT_JSON REACT_INTL_JSON STANDARD_CSV SINGLE_LANGUAGE_CSV KEY_VALUE_CSV STANDARD_XLIFF STANDARD_XLIFF_2 STANDARD_TXT TWINE_TXT STANDARD_MARKDOWN STANDARD_HTML FIGMA ZENDESK STORYBLOK CONTENTFUL SUBTITLE_SRT SUBTITLE_VTT HUBSPOT STRIPO CRISP_HELPDESK DOCX PPTX ODT ODP VUE_I18N_JSON
_ne
string
Allowed values: ANDROID_XML IOS_STRINGS IOS_STRINGSDICT IOS_STRINGS_CATALOG STANDARD_PROPERTIES GETTEXT_PO WINDOWS_RESX QT_LINGUIST_TS DEFINE_PHP STANDARD_INI STANDARD_ARB RAILS_YAML SYMFONY_YAML STANDARD_JSON STORYBLOK_JSON ANGULAR_TRANSLATE_JSON CHROME_I18N_JSON GO_I18N_JSON I18NEXT_JSON REACT_INTL_JSON STANDARD_CSV SINGLE_LANGUAGE_CSV KEY_VALUE_CSV STANDARD_XLIFF STANDARD_XLIFF_2 STANDARD_TXT TWINE_TXT STANDARD_MARKDOWN STANDARD_HTML FIGMA ZENDESK STORYBLOK CONTENTFUL SUBTITLE_SRT SUBTITLE_VTT HUBSPOT STRIPO CRISP_HELPDESK DOCX PPTX ODT ODP VUE_I18N_JSON
_in
Array<string>
>= 1 items
Allowed values: ANDROID_XML IOS_STRINGS IOS_STRINGSDICT IOS_STRINGS_CATALOG STANDARD_PROPERTIES GETTEXT_PO WINDOWS_RESX QT_LINGUIST_TS DEFINE_PHP STANDARD_INI STANDARD_ARB RAILS_YAML SYMFONY_YAML STANDARD_JSON STORYBLOK_JSON ANGULAR_TRANSLATE_JSON CHROME_I18N_JSON GO_I18N_JSON I18NEXT_JSON REACT_INTL_JSON STANDARD_CSV SINGLE_LANGUAGE_CSV KEY_VALUE_CSV STANDARD_XLIFF STANDARD_XLIFF_2 STANDARD_TXT TWINE_TXT STANDARD_MARKDOWN STANDARD_HTML FIGMA ZENDESK STORYBLOK CONTENTFUL SUBTITLE_SRT SUBTITLE_VTT HUBSPOT STRIPO CRISP_HELPDESK DOCX PPTX ODT ODP VUE_I18N_JSON
_nin
Array<string>
>= 1 items
Allowed values: ANDROID_XML IOS_STRINGS IOS_STRINGSDICT IOS_STRINGS_CATALOG STANDARD_PROPERTIES GETTEXT_PO WINDOWS_RESX QT_LINGUIST_TS DEFINE_PHP STANDARD_INI STANDARD_ARB RAILS_YAML SYMFONY_YAML STANDARD_JSON STORYBLOK_JSON ANGULAR_TRANSLATE_JSON CHROME_I18N_JSON GO_I18N_JSON I18NEXT_JSON REACT_INTL_JSON STANDARD_CSV SINGLE_LANGUAGE_CSV KEY_VALUE_CSV STANDARD_XLIFF STANDARD_XLIFF_2 STANDARD_TXT TWINE_TXT STANDARD_MARKDOWN STANDARD_HTML FIGMA ZENDESK STORYBLOK CONTENTFUL SUBTITLE_SRT SUBTITLE_VTT HUBSPOT STRIPO CRISP_HELPDESK DOCX PPTX ODT ODP VUE_I18N_JSON
resource[id]

Exactly one operator of the field.

object
>= 1 properties <= 1 properties
_eq
string
_ne
string
_in
Array<string>
>= 1 items
_nin
Array<string>
>= 1 items
resource[name]

Exactly one operator of the field.

object
>= 1 properties <= 1 properties
_eq
string
_ne
string
_like
string
_nlike
string
_ilike
string
_nilike
string
_contains
string
_ncontains
string
_icontains
string
_nicontains
string
_starts
string
_ends
string
_blank

Takes no value; send true.

boolean
_nblank

Takes no value; send true.

boolean
resource[path]

Exactly one operator of the field.

object
>= 1 properties <= 1 properties
_eq
string
_ne
string
_like
string
_nlike
string
_ilike
string
_nilike
string
_contains
string
_ncontains
string
_icontains
string
_nicontains
string
_starts
string
_ends
string
_blank

Takes no value; send true.

boolean
_nblank

Takes no value; send true.

boolean
resource[type]

Exactly one operator of the field.

object
>= 1 properties <= 1 properties
_eq
string
Allowed values: FILE FOLDER
_ne
string
Allowed values: FILE FOLDER
_in
Array<string>
>= 1 items
Allowed values: FILE FOLDER
_nin
Array<string>
>= 1 items
Allowed values: FILE FOLDER
_or
Array<object>
>= 1 items

A nested _and/_or, or one field with one operator.

object
>= 1 properties <= 1 properties
_and
Array<object> recursive
_or
Array<object> recursive
resource[format]

Exactly one operator of the field.

object
>= 1 properties <= 1 properties
_eq
string
Allowed values: ANDROID_XML IOS_STRINGS IOS_STRINGSDICT IOS_STRINGS_CATALOG STANDARD_PROPERTIES GETTEXT_PO WINDOWS_RESX QT_LINGUIST_TS DEFINE_PHP STANDARD_INI STANDARD_ARB RAILS_YAML SYMFONY_YAML STANDARD_JSON STORYBLOK_JSON ANGULAR_TRANSLATE_JSON CHROME_I18N_JSON GO_I18N_JSON I18NEXT_JSON REACT_INTL_JSON STANDARD_CSV SINGLE_LANGUAGE_CSV KEY_VALUE_CSV STANDARD_XLIFF STANDARD_XLIFF_2 STANDARD_TXT TWINE_TXT STANDARD_MARKDOWN STANDARD_HTML FIGMA ZENDESK STORYBLOK CONTENTFUL SUBTITLE_SRT SUBTITLE_VTT HUBSPOT STRIPO CRISP_HELPDESK DOCX PPTX ODT ODP VUE_I18N_JSON
_ne
string
Allowed values: ANDROID_XML IOS_STRINGS IOS_STRINGSDICT IOS_STRINGS_CATALOG STANDARD_PROPERTIES GETTEXT_PO WINDOWS_RESX QT_LINGUIST_TS DEFINE_PHP STANDARD_INI STANDARD_ARB RAILS_YAML SYMFONY_YAML STANDARD_JSON STORYBLOK_JSON ANGULAR_TRANSLATE_JSON CHROME_I18N_JSON GO_I18N_JSON I18NEXT_JSON REACT_INTL_JSON STANDARD_CSV SINGLE_LANGUAGE_CSV KEY_VALUE_CSV STANDARD_XLIFF STANDARD_XLIFF_2 STANDARD_TXT TWINE_TXT STANDARD_MARKDOWN STANDARD_HTML FIGMA ZENDESK STORYBLOK CONTENTFUL SUBTITLE_SRT SUBTITLE_VTT HUBSPOT STRIPO CRISP_HELPDESK DOCX PPTX ODT ODP VUE_I18N_JSON
_in
Array<string>
>= 1 items
Allowed values: ANDROID_XML IOS_STRINGS IOS_STRINGSDICT IOS_STRINGS_CATALOG STANDARD_PROPERTIES GETTEXT_PO WINDOWS_RESX QT_LINGUIST_TS DEFINE_PHP STANDARD_INI STANDARD_ARB RAILS_YAML SYMFONY_YAML STANDARD_JSON STORYBLOK_JSON ANGULAR_TRANSLATE_JSON CHROME_I18N_JSON GO_I18N_JSON I18NEXT_JSON REACT_INTL_JSON STANDARD_CSV SINGLE_LANGUAGE_CSV KEY_VALUE_CSV STANDARD_XLIFF STANDARD_XLIFF_2 STANDARD_TXT TWINE_TXT STANDARD_MARKDOWN STANDARD_HTML FIGMA ZENDESK STORYBLOK CONTENTFUL SUBTITLE_SRT SUBTITLE_VTT HUBSPOT STRIPO CRISP_HELPDESK DOCX PPTX ODT ODP VUE_I18N_JSON
_nin
Array<string>
>= 1 items
Allowed values: ANDROID_XML IOS_STRINGS IOS_STRINGSDICT IOS_STRINGS_CATALOG STANDARD_PROPERTIES GETTEXT_PO WINDOWS_RESX QT_LINGUIST_TS DEFINE_PHP STANDARD_INI STANDARD_ARB RAILS_YAML SYMFONY_YAML STANDARD_JSON STORYBLOK_JSON ANGULAR_TRANSLATE_JSON CHROME_I18N_JSON GO_I18N_JSON I18NEXT_JSON REACT_INTL_JSON STANDARD_CSV SINGLE_LANGUAGE_CSV KEY_VALUE_CSV STANDARD_XLIFF STANDARD_XLIFF_2 STANDARD_TXT TWINE_TXT STANDARD_MARKDOWN STANDARD_HTML FIGMA ZENDESK STORYBLOK CONTENTFUL SUBTITLE_SRT SUBTITLE_VTT HUBSPOT STRIPO CRISP_HELPDESK DOCX PPTX ODT ODP VUE_I18N_JSON
resource[id]

Exactly one operator of the field.

object
>= 1 properties <= 1 properties
_eq
string
_ne
string
_in
Array<string>
>= 1 items
_nin
Array<string>
>= 1 items
resource[name]

Exactly one operator of the field.

object
>= 1 properties <= 1 properties
_eq
string
_ne
string
_like
string
_nlike
string
_ilike
string
_nilike
string
_contains
string
_ncontains
string
_icontains
string
_nicontains
string
_starts
string
_ends
string
_blank

Takes no value; send true.

boolean
_nblank

Takes no value; send true.

boolean
resource[path]

Exactly one operator of the field.

object
>= 1 properties <= 1 properties
_eq
string
_ne
string
_like
string
_nlike
string
_ilike
string
_nilike
string
_contains
string
_ncontains
string
_icontains
string
_nicontains
string
_starts
string
_ends
string
_blank

Takes no value; send true.

boolean
_nblank

Takes no value; send true.

boolean
resource[type]

Exactly one operator of the field.

object
>= 1 properties <= 1 properties
_eq
string
Allowed values: FILE FOLDER
_ne
string
Allowed values: FILE FOLDER
_in
Array<string>
>= 1 items
Allowed values: FILE FOLDER
_nin
Array<string>
>= 1 items
Allowed values: FILE FOLDER
sort

Fields to sort by, in order: + ascending, - descending.

Array<string>
<= 8 items
Allowed values: +resource[name] -resource[name] +resource[path] -resource[path]

Filters and sorts the list: URL-encoded JSON of the schema ResourceFilter. where holds exactly one _and or _or with an array of clauses; a clause is another _and/_or or a field with exactly one operator. sort lists fields with + (ascending) or - (descending). An unsupported field, operator or value answers 400 invalid_filter with a pointer into the filter.

Field Type Operators Sort
resource[format] ANDROID_XML | IOS_STRINGS | IOS_STRINGSDICT | IOS_STRINGS_CATALOG | STANDARD_PROPERTIES | GETTEXT_PO | WINDOWS_RESX | QT_LINGUIST_TS | DEFINE_PHP | STANDARD_INI | STANDARD_ARB | RAILS_YAML | SYMFONY_YAML | STANDARD_JSON | STORYBLOK_JSON | ANGULAR_TRANSLATE_JSON | CHROME_I18N_JSON | GO_I18N_JSON | I18NEXT_JSON | REACT_INTL_JSON | STANDARD_CSV | SINGLE_LANGUAGE_CSV | KEY_VALUE_CSV | STANDARD_XLIFF | STANDARD_XLIFF_2 | STANDARD_TXT | TWINE_TXT | STANDARD_MARKDOWN | STANDARD_HTML | FIGMA | ZENDESK | STORYBLOK | CONTENTFUL | SUBTITLE_SRT | SUBTITLE_VTT | HUBSPOT | STRIPO | CRISP_HELPDESK | DOCX | PPTX | ODT | ODP | VUE_I18N_JSON _eq _ne _in _nin –
resource[id] id _eq _ne _in _nin –
resource[name] text _eq _ne _like _nlike _ilike _nilike _contains _ncontains _icontains _nicontains _starts _ends _blank _nblank yes
resource[path] text _eq _ne _like _nlike _ilike _nilike _contains _ncontains _icontains _nicontains _starts _ends _blank _nblank yes
resource[type] FILE | FOLDER _eq _ne _in _nin –
cursor
string

Opaque pagination cursor from the next_cursor field of a previous response. Omit for the first page.

limit
integer format: int32
default: 20 >= 1 <= 100

Maximum number of items to return per page (1-100).

Example

20

Resources retrieved successfully.

Media typeapplication/json

A list of resources with pagination capability.

object
object_type
required

Always LIST.

string
Allowed values: LIST
has_more
required

True if more items exist after this page. Iterate by repeating the request with the cursor query parameter set to next_cursor until has_more is false.

boolean
next_cursor
required

Opaque cursor token pointing past the last item of this page. Null on the last page. Pass it unchanged via the cursor query parameter to request the next page.

string | null
data
required

The list of items in this page.

Array<object>

A resource file or folder (container) within a project branch, exposing its format and path metadata and per-language status counts.

object
object_type
required

Always RESOURCE.

string
Allowed values: RESOURCE
id
required

Unique identifier of the resource.

string
>= 1 characters
branch_id
required

Unique identifier of the project branch this resource belongs to.

string
name
required

Name of the resource (the last path segment).

string
path
required

Full path within the branch. File paths contain language placeholders that are resolved for each exported language.

string
type
required

FILE holds keys; FOLDER groups other resources.

string
Allowed values: FILE FOLDER
format
required

File format of the resource. Null for folders.

One of:

The file format of a resource. Determines how the file is parsed on import and rendered on export. Folders have no format.

string
Allowed values: ANDROID_XML IOS_STRINGS IOS_STRINGSDICT IOS_STRINGS_CATALOG STANDARD_PROPERTIES GETTEXT_PO WINDOWS_RESX QT_LINGUIST_TS DEFINE_PHP STANDARD_INI STANDARD_ARB RAILS_YAML SYMFONY_YAML STANDARD_JSON STORYBLOK_JSON ANGULAR_TRANSLATE_JSON CHROME_I18N_JSON GO_I18N_JSON I18NEXT_JSON REACT_INTL_JSON STANDARD_CSV SINGLE_LANGUAGE_CSV KEY_VALUE_CSV STANDARD_XLIFF STANDARD_XLIFF_2 STANDARD_TXT TWINE_TXT STANDARD_MARKDOWN STANDARD_HTML FIGMA ZENDESK STORYBLOK CONTENTFUL SUBTITLE_SRT SUBTITLE_VTT HUBSPOT STRIPO CRISP_HELPDESK DOCX PPTX ODT ODP VUE_I18N_JSON
language_code_separator
required

Separator between the file name and the language code (defaults to “_”).

string
0 <= 256 characters
content_version
required

Version of this resource’s exported content. A file’s number moves whenever any of its languages moves and when a language is added to or removed from it; a folder’s number combines the numbers of the files below it and moves whenever any of them does. It increases whenever anything changes that could alter an export of the file (its segments, their texts and statuses, keys, order, the file itself, the languages, the export settings, the branch). Compare it with the content_version of your last export entry for the same file, language and export settings, and export again only when it moved. It tracks the translatable data: a LingoHub release can still change how a format is rendered, and ARB embeds a generation timestamp - re-export after a release when byte identity matters. Null for a file without languages.

integer | null format: int64
language_status_counts
required

Per-language segment metrics, grouped by workflow stage and status.

Array<object>

Per-language segment metrics for a resource, grouped by workflow stage and broken down by text status within each stage.

object
language_code
required

The language code these metrics belong to.

string
content_version
required

Version of this language of the file. It increases whenever anything changes that could alter the export of this language (its texts and statuses, the source texts, the file’s segments and keys, the languages, the export settings).

integer | null format: int64
stages
required

Per-stage metrics, ordered by workflow stage (NOT_READY → NEEDS_EDIT → NEEDS_REVIEW → DONE).

Array<object>

Segment metrics for a single workflow stage within a language: the counts are the stage total across its statuses, and statuses lists the per-status breakdown.

object
stage
required

The workflow stage these metrics belong to.

string
Allowed values: NOT_READY NEEDS_EDIT NEEDS_REVIEW DONE
counts
required

Stage total, summed across all statuses in this stage.

object
segment_count
required

Number of segments.

integer format: int64
word_count
required

Number of words in the target text.

integer format: int64
source_word_count
required

Number of words in the source text.

integer format: int64
character_count
required

Number of characters in the target text.

integer format: int64
suggestion_count
required

Number of translation-memory suggestions.

integer format: int64
statuses
required

Per-status metric breakdown within this stage, ordered by status.

Array<object>

Segment metrics for a single text status within a language.

object
status
required

The text status these metrics belong to.

string
Allowed values: BLOCKED NEW STALE REJECTED DRAFT AI_TRANSLATED TRANSLATED QA_PASSED QA_FLAGGED APPROVED NOT_TRANSLATABLE
counts
required

Aggregated metrics for this status.

object
segment_count
required

Number of segments.

integer format: int64
word_count
required

Number of words in the target text.

integer format: int64
source_word_count
required

Number of words in the source text.

integer format: int64
character_count
required

Number of characters in the target text.

integer format: int64
suggestion_count
required

Number of translation-memory suggestions.

integer format: int64
created_at
required

When the resource file or folder was created.

string format: date-time
updated_at
required

Stored resource metadata update time. Text and other export-input changes are tracked by content_version, not this timestamp.

string format: date-time

Example

{
"object_type": "LIST",
"has_more": true,
"next_cursor": "1uO9WTLnYqGAtIWkjDmz4VuJZWLkWMxXIH4Hkp2DTuRtPNQYBpkF6Q",
"data": [
{
"object_type": "RESOURCE",
"id": "rc_0197c8f2-5a6b-7cde-8f12-3456789abcde",
"branch_id": "prb_0197c8f2-5a6b-7cde-8f12-3456789abcde",
"name": "strings.xml",
"path": "app/src/main/res/%{locale}/strings.xml",
"type": "FILE",
"format": "ANDROID_XML",
"language_code_separator": "-",
"content_version": 42,
"language_status_counts": [
{
"language_code": "de-DE",
"content_version": 42,
"stages": [
{
"stage": "NEEDS_REVIEW",
"counts": {
"segment_count": 42,
"word_count": 318,
"source_word_count": 305,
"character_count": 1890,
"suggestion_count": 7
},
"statuses": [
{
"status": "TRANSLATED",
"counts": {
"segment_count": 42,
"word_count": 318,
"source_word_count": 305,
"character_count": 1890,
"suggestion_count": 7
}
}
]
}
]
}
],
"created_at": "2026-01-01T10:40:00.123Z",
"updated_at": "2026-01-02T10:40:00.123Z"
}
]
}
RateLimit
string

State of the rate-limit policy currently closest to rejection (IETF draft-ietf-httpapi-ratelimit-headers): the quoted policy name with r = requests remaining right now and t = seconds until the full quota is available again. Example: "api-key";r=42;t=7. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

RateLimit-Policy
string

The rate-limit policies applied to the request: each quoted policy name with q = sustained request quota per window of w seconds. Example: "api-key";q=180;w=60, "workspace";q=600;w=60. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

The request is malformed: an unknown or invalid query parameter, an invalid id in the path, or a body that is not valid JSON. code names the problem, errors the parameter or field.

Media typeapplication/problem+json

RFC 9457 problem details. code identifies the problem type (one per type URL); errors lists rejected fields or parameters; required_permission names the permission a 403 lacked.

object
type
required

URL identifying the problem type and pointing to its documentation.

string
title
required

Short, constant summary of the problem type.

string
status
required

HTTP status code.

integer format: int32
detail
required

Human-readable explanation of this occurrence of the problem.

string
instance
required

Path of the request that produced the problem.

string
code
required

Machine-readable problem type.

string
Allowed values: invalid_json invalid_parameter missing_parameter unknown_parameter invalid_filter invalid_cursor bad_request missing_api_key invalid_api_key expired_api_key revoked_api_key disabled_api_key insufficient_permissions resource_not_found route_not_found method_not_allowed not_acceptable precondition_failed content_too_large unsupported_media_type already_exists idempotency_outcome_unknown idempotency_key_in_use stack_not_empty branch_not_ready backup_not_ready backup_in_use default_branch_protected owner_membership_protected source_language_protected branch_limit_reached context_image_limit_reached automation_limit_reached translation_order_pending git_integration_not_configured branch_git_integration_not_configured git_integration_unauthorized conflict validation_failed idempotency_key_mismatch rate_limit_exceeded internal_error upstream_error service_unavailable upstream_timeout
request_id
required

Correlation id of the request, also returned in the X-Request-ID header. Quote it when contacting support.

string
errors

Rejected fields or parameters. Present when the problem concerns specific fields or parameters.

Array<object>

A rejected field or parameter. pointer locates a body field (RFC 6901 JSON Pointer), parameter a query, path or header parameter or a field of a multipart upload; both are set for a position inside a JSON-valued parameter such as filter.

object
detail
required

Human-readable description of the problem.

string
pointer
required

JSON Pointer to the offending body field, or to the position inside a JSON-valued parameter.

string | null
parameter
required

Name of the offending query, path or header parameter, or of the multipart form field.

string | null
code
required

Why the field or parameter was rejected.

string
Allowed values: required type enum minLength maxLength minimum maximum pattern format additionalProperties minItems maxItems uniqueItems already_exists not_found not_supported unsupported_file_extension file_too_large file_empty invalid_archive empty_archive
required_permission

The permission the API key lacks. Present on 403 responses.

object
scope
required

Where the permission applies.

string
Allowed values: WORKSPACE STACK
target
required

The area the permission governs.

string
Allowed values: GENERAL BILLING_SUBSCRIPTION WORKSPACES MEMBERS PLUGINS_INTEGRATIONS LOGS API_ACCESS STACKS TRANSLATION_ORDERS WORK_REPORTS STYLE_GUIDES GLOSSARIES TRANSLATION_MEMORIES LABELS AI_TRANSLATION QUICK_TRANSLATIONS SETTINGS ACTIVITIES RESOURCES CONTEXT_IMAGES LANGUAGES SEGMENT_KEYS SEGMENTS SEGMENT_TEXTS
level
required

The access level required.

string
Allowed values: NO_ACCESS VIEW WRITE MANAGE

Example

{
"type": "https://api.lingohub.com/errors/resource-not-found",
"title": "Resource not found",
"status": 404,
"detail": "Resource with ID 'pr_0197c8f2-5a6b-7cde-8f12-3456789abcde' was not found.",
"instance": "/v2/projects/pr_0197c8f2-5a6b-7cde-8f12-3456789abcde",
"code": "invalid_json",
"request_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"errors": [
{
"detail": "must be at least 2 characters long",
"pointer": "#/name",
"parameter": "limit",
"code": "minLength"
}
],
"required_permission": {
"scope": "WORKSPACE",
"target": "GENERAL",
"level": "NO_ACCESS"
}
}
RateLimit
string

State of the rate-limit policy currently closest to rejection (IETF draft-ietf-httpapi-ratelimit-headers): the quoted policy name with r = requests remaining right now and t = seconds until the full quota is available again. Example: "api-key";r=42;t=7. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

RateLimit-Policy
string

The rate-limit policies applied to the request: each quoted policy name with q = sustained request quota per window of w seconds. Example: "api-key";q=180;w=60, "workspace";q=600;w=60. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

Invalid or missing API key.

Media typeapplication/problem+json

RFC 9457 problem details. code identifies the problem type (one per type URL); errors lists rejected fields or parameters; required_permission names the permission a 403 lacked.

object
type
required

URL identifying the problem type and pointing to its documentation.

string
title
required

Short, constant summary of the problem type.

string
status
required

HTTP status code.

integer format: int32
detail
required

Human-readable explanation of this occurrence of the problem.

string
instance
required

Path of the request that produced the problem.

string
code
required

Machine-readable problem type.

string
Allowed values: invalid_json invalid_parameter missing_parameter unknown_parameter invalid_filter invalid_cursor bad_request missing_api_key invalid_api_key expired_api_key revoked_api_key disabled_api_key insufficient_permissions resource_not_found route_not_found method_not_allowed not_acceptable precondition_failed content_too_large unsupported_media_type already_exists idempotency_outcome_unknown idempotency_key_in_use stack_not_empty branch_not_ready backup_not_ready backup_in_use default_branch_protected owner_membership_protected source_language_protected branch_limit_reached context_image_limit_reached automation_limit_reached translation_order_pending git_integration_not_configured branch_git_integration_not_configured git_integration_unauthorized conflict validation_failed idempotency_key_mismatch rate_limit_exceeded internal_error upstream_error service_unavailable upstream_timeout
request_id
required

Correlation id of the request, also returned in the X-Request-ID header. Quote it when contacting support.

string
errors

Rejected fields or parameters. Present when the problem concerns specific fields or parameters.

Array<object>

A rejected field or parameter. pointer locates a body field (RFC 6901 JSON Pointer), parameter a query, path or header parameter or a field of a multipart upload; both are set for a position inside a JSON-valued parameter such as filter.

object
detail
required

Human-readable description of the problem.

string
pointer
required

JSON Pointer to the offending body field, or to the position inside a JSON-valued parameter.

string | null
parameter
required

Name of the offending query, path or header parameter, or of the multipart form field.

string | null
code
required

Why the field or parameter was rejected.

string
Allowed values: required type enum minLength maxLength minimum maximum pattern format additionalProperties minItems maxItems uniqueItems already_exists not_found not_supported unsupported_file_extension file_too_large file_empty invalid_archive empty_archive
required_permission

The permission the API key lacks. Present on 403 responses.

object
scope
required

Where the permission applies.

string
Allowed values: WORKSPACE STACK
target
required

The area the permission governs.

string
Allowed values: GENERAL BILLING_SUBSCRIPTION WORKSPACES MEMBERS PLUGINS_INTEGRATIONS LOGS API_ACCESS STACKS TRANSLATION_ORDERS WORK_REPORTS STYLE_GUIDES GLOSSARIES TRANSLATION_MEMORIES LABELS AI_TRANSLATION QUICK_TRANSLATIONS SETTINGS ACTIVITIES RESOURCES CONTEXT_IMAGES LANGUAGES SEGMENT_KEYS SEGMENTS SEGMENT_TEXTS
level
required

The access level required.

string
Allowed values: NO_ACCESS VIEW WRITE MANAGE

Example

{
"type": "https://api.lingohub.com/errors/resource-not-found",
"title": "Resource not found",
"status": 404,
"detail": "Resource with ID 'pr_0197c8f2-5a6b-7cde-8f12-3456789abcde' was not found.",
"instance": "/v2/projects/pr_0197c8f2-5a6b-7cde-8f12-3456789abcde",
"code": "invalid_json",
"request_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"errors": [
{
"detail": "must be at least 2 characters long",
"pointer": "#/name",
"parameter": "limit",
"code": "minLength"
}
],
"required_permission": {
"scope": "WORKSPACE",
"target": "GENERAL",
"level": "NO_ACCESS"
}
}

Insufficient permissions.

Media typeapplication/problem+json

RFC 9457 problem details. code identifies the problem type (one per type URL); errors lists rejected fields or parameters; required_permission names the permission a 403 lacked.

object
type
required

URL identifying the problem type and pointing to its documentation.

string
title
required

Short, constant summary of the problem type.

string
status
required

HTTP status code.

integer format: int32
detail
required

Human-readable explanation of this occurrence of the problem.

string
instance
required

Path of the request that produced the problem.

string
code
required

Machine-readable problem type.

string
Allowed values: invalid_json invalid_parameter missing_parameter unknown_parameter invalid_filter invalid_cursor bad_request missing_api_key invalid_api_key expired_api_key revoked_api_key disabled_api_key insufficient_permissions resource_not_found route_not_found method_not_allowed not_acceptable precondition_failed content_too_large unsupported_media_type already_exists idempotency_outcome_unknown idempotency_key_in_use stack_not_empty branch_not_ready backup_not_ready backup_in_use default_branch_protected owner_membership_protected source_language_protected branch_limit_reached context_image_limit_reached automation_limit_reached translation_order_pending git_integration_not_configured branch_git_integration_not_configured git_integration_unauthorized conflict validation_failed idempotency_key_mismatch rate_limit_exceeded internal_error upstream_error service_unavailable upstream_timeout
request_id
required

Correlation id of the request, also returned in the X-Request-ID header. Quote it when contacting support.

string
errors

Rejected fields or parameters. Present when the problem concerns specific fields or parameters.

Array<object>

A rejected field or parameter. pointer locates a body field (RFC 6901 JSON Pointer), parameter a query, path or header parameter or a field of a multipart upload; both are set for a position inside a JSON-valued parameter such as filter.

object
detail
required

Human-readable description of the problem.

string
pointer
required

JSON Pointer to the offending body field, or to the position inside a JSON-valued parameter.

string | null
parameter
required

Name of the offending query, path or header parameter, or of the multipart form field.

string | null
code
required

Why the field or parameter was rejected.

string
Allowed values: required type enum minLength maxLength minimum maximum pattern format additionalProperties minItems maxItems uniqueItems already_exists not_found not_supported unsupported_file_extension file_too_large file_empty invalid_archive empty_archive
required_permission

The permission the API key lacks. Present on 403 responses.

object
scope
required

Where the permission applies.

string
Allowed values: WORKSPACE STACK
target
required

The area the permission governs.

string
Allowed values: GENERAL BILLING_SUBSCRIPTION WORKSPACES MEMBERS PLUGINS_INTEGRATIONS LOGS API_ACCESS STACKS TRANSLATION_ORDERS WORK_REPORTS STYLE_GUIDES GLOSSARIES TRANSLATION_MEMORIES LABELS AI_TRANSLATION QUICK_TRANSLATIONS SETTINGS ACTIVITIES RESOURCES CONTEXT_IMAGES LANGUAGES SEGMENT_KEYS SEGMENTS SEGMENT_TEXTS
level
required

The access level required.

string
Allowed values: NO_ACCESS VIEW WRITE MANAGE

Example

{
"type": "https://api.lingohub.com/errors/resource-not-found",
"title": "Resource not found",
"status": 404,
"detail": "Resource with ID 'pr_0197c8f2-5a6b-7cde-8f12-3456789abcde' was not found.",
"instance": "/v2/projects/pr_0197c8f2-5a6b-7cde-8f12-3456789abcde",
"code": "invalid_json",
"request_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"errors": [
{
"detail": "must be at least 2 characters long",
"pointer": "#/name",
"parameter": "limit",
"code": "minLength"
}
],
"required_permission": {
"scope": "WORKSPACE",
"target": "GENERAL",
"level": "NO_ACCESS"
}
}
RateLimit
string

State of the rate-limit policy currently closest to rejection (IETF draft-ietf-httpapi-ratelimit-headers): the quoted policy name with r = requests remaining right now and t = seconds until the full quota is available again. Example: "api-key";r=42;t=7. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

RateLimit-Policy
string

The rate-limit policies applied to the request: each quoted policy name with q = sustained request quota per window of w seconds. Example: "api-key";q=180;w=60, "workspace";q=600;w=60. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

The resource does not exist, or the API key cannot see it.

Media typeapplication/problem+json

RFC 9457 problem details. code identifies the problem type (one per type URL); errors lists rejected fields or parameters; required_permission names the permission a 403 lacked.

object
type
required

URL identifying the problem type and pointing to its documentation.

string
title
required

Short, constant summary of the problem type.

string
status
required

HTTP status code.

integer format: int32
detail
required

Human-readable explanation of this occurrence of the problem.

string
instance
required

Path of the request that produced the problem.

string
code
required

Machine-readable problem type.

string
Allowed values: invalid_json invalid_parameter missing_parameter unknown_parameter invalid_filter invalid_cursor bad_request missing_api_key invalid_api_key expired_api_key revoked_api_key disabled_api_key insufficient_permissions resource_not_found route_not_found method_not_allowed not_acceptable precondition_failed content_too_large unsupported_media_type already_exists idempotency_outcome_unknown idempotency_key_in_use stack_not_empty branch_not_ready backup_not_ready backup_in_use default_branch_protected owner_membership_protected source_language_protected branch_limit_reached context_image_limit_reached automation_limit_reached translation_order_pending git_integration_not_configured branch_git_integration_not_configured git_integration_unauthorized conflict validation_failed idempotency_key_mismatch rate_limit_exceeded internal_error upstream_error service_unavailable upstream_timeout
request_id
required

Correlation id of the request, also returned in the X-Request-ID header. Quote it when contacting support.

string
errors

Rejected fields or parameters. Present when the problem concerns specific fields or parameters.

Array<object>

A rejected field or parameter. pointer locates a body field (RFC 6901 JSON Pointer), parameter a query, path or header parameter or a field of a multipart upload; both are set for a position inside a JSON-valued parameter such as filter.

object
detail
required

Human-readable description of the problem.

string
pointer
required

JSON Pointer to the offending body field, or to the position inside a JSON-valued parameter.

string | null
parameter
required

Name of the offending query, path or header parameter, or of the multipart form field.

string | null
code
required

Why the field or parameter was rejected.

string
Allowed values: required type enum minLength maxLength minimum maximum pattern format additionalProperties minItems maxItems uniqueItems already_exists not_found not_supported unsupported_file_extension file_too_large file_empty invalid_archive empty_archive
required_permission

The permission the API key lacks. Present on 403 responses.

object
scope
required

Where the permission applies.

string
Allowed values: WORKSPACE STACK
target
required

The area the permission governs.

string
Allowed values: GENERAL BILLING_SUBSCRIPTION WORKSPACES MEMBERS PLUGINS_INTEGRATIONS LOGS API_ACCESS STACKS TRANSLATION_ORDERS WORK_REPORTS STYLE_GUIDES GLOSSARIES TRANSLATION_MEMORIES LABELS AI_TRANSLATION QUICK_TRANSLATIONS SETTINGS ACTIVITIES RESOURCES CONTEXT_IMAGES LANGUAGES SEGMENT_KEYS SEGMENTS SEGMENT_TEXTS
level
required

The access level required.

string
Allowed values: NO_ACCESS VIEW WRITE MANAGE

Example

{
"type": "https://api.lingohub.com/errors/resource-not-found",
"title": "Resource not found",
"status": 404,
"detail": "Resource with ID 'pr_0197c8f2-5a6b-7cde-8f12-3456789abcde' was not found.",
"instance": "/v2/projects/pr_0197c8f2-5a6b-7cde-8f12-3456789abcde",
"code": "invalid_json",
"request_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"errors": [
{
"detail": "must be at least 2 characters long",
"pointer": "#/name",
"parameter": "limit",
"code": "minLength"
}
],
"required_permission": {
"scope": "WORKSPACE",
"target": "GENERAL",
"level": "NO_ACCESS"
}
}
RateLimit
string

State of the rate-limit policy currently closest to rejection (IETF draft-ietf-httpapi-ratelimit-headers): the quoted policy name with r = requests remaining right now and t = seconds until the full quota is available again. Example: "api-key";r=42;t=7. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

RateLimit-Policy
string

The rate-limit policies applied to the request: each quoted policy name with q = sustained request quota per window of w seconds. Example: "api-key";q=180;w=60, "workspace";q=600;w=60. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

The API rate limit was exceeded. Wait for the number of seconds given in the Retry-After header, then retry.

Media typeapplication/problem+json

RFC 9457 problem details. code identifies the problem type (one per type URL); errors lists rejected fields or parameters; required_permission names the permission a 403 lacked.

object
type
required

URL identifying the problem type and pointing to its documentation.

string
title
required

Short, constant summary of the problem type.

string
status
required

HTTP status code.

integer format: int32
detail
required

Human-readable explanation of this occurrence of the problem.

string
instance
required

Path of the request that produced the problem.

string
code
required

Machine-readable problem type.

string
Allowed values: invalid_json invalid_parameter missing_parameter unknown_parameter invalid_filter invalid_cursor bad_request missing_api_key invalid_api_key expired_api_key revoked_api_key disabled_api_key insufficient_permissions resource_not_found route_not_found method_not_allowed not_acceptable precondition_failed content_too_large unsupported_media_type already_exists idempotency_outcome_unknown idempotency_key_in_use stack_not_empty branch_not_ready backup_not_ready backup_in_use default_branch_protected owner_membership_protected source_language_protected branch_limit_reached context_image_limit_reached automation_limit_reached translation_order_pending git_integration_not_configured branch_git_integration_not_configured git_integration_unauthorized conflict validation_failed idempotency_key_mismatch rate_limit_exceeded internal_error upstream_error service_unavailable upstream_timeout
request_id
required

Correlation id of the request, also returned in the X-Request-ID header. Quote it when contacting support.

string
errors

Rejected fields or parameters. Present when the problem concerns specific fields or parameters.

Array<object>

A rejected field or parameter. pointer locates a body field (RFC 6901 JSON Pointer), parameter a query, path or header parameter or a field of a multipart upload; both are set for a position inside a JSON-valued parameter such as filter.

object
detail
required

Human-readable description of the problem.

string
pointer
required

JSON Pointer to the offending body field, or to the position inside a JSON-valued parameter.

string | null
parameter
required

Name of the offending query, path or header parameter, or of the multipart form field.

string | null
code
required

Why the field or parameter was rejected.

string
Allowed values: required type enum minLength maxLength minimum maximum pattern format additionalProperties minItems maxItems uniqueItems already_exists not_found not_supported unsupported_file_extension file_too_large file_empty invalid_archive empty_archive
required_permission

The permission the API key lacks. Present on 403 responses.

object
scope
required

Where the permission applies.

string
Allowed values: WORKSPACE STACK
target
required

The area the permission governs.

string
Allowed values: GENERAL BILLING_SUBSCRIPTION WORKSPACES MEMBERS PLUGINS_INTEGRATIONS LOGS API_ACCESS STACKS TRANSLATION_ORDERS WORK_REPORTS STYLE_GUIDES GLOSSARIES TRANSLATION_MEMORIES LABELS AI_TRANSLATION QUICK_TRANSLATIONS SETTINGS ACTIVITIES RESOURCES CONTEXT_IMAGES LANGUAGES SEGMENT_KEYS SEGMENTS SEGMENT_TEXTS
level
required

The access level required.

string
Allowed values: NO_ACCESS VIEW WRITE MANAGE

Example

{
"type": "https://api.lingohub.com/errors/resource-not-found",
"title": "Resource not found",
"status": 404,
"detail": "Resource with ID 'pr_0197c8f2-5a6b-7cde-8f12-3456789abcde' was not found.",
"instance": "/v2/projects/pr_0197c8f2-5a6b-7cde-8f12-3456789abcde",
"code": "invalid_json",
"request_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"errors": [
{
"detail": "must be at least 2 characters long",
"pointer": "#/name",
"parameter": "limit",
"code": "minLength"
}
],
"required_permission": {
"scope": "WORKSPACE",
"target": "GENERAL",
"level": "NO_ACCESS"
}
}
Retry-After
integer format: int32

Seconds to wait before retrying.

RateLimit
string

State of the rate-limit policy currently closest to rejection (IETF draft-ietf-httpapi-ratelimit-headers): the quoted policy name with r = requests remaining right now and t = seconds until the full quota is available again. Example: "api-key";r=42;t=7. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

RateLimit-Policy
string

The rate-limit policies applied to the request: each quoted policy name with q = sustained request quota per window of w seconds. Example: "api-key";q=180;w=60, "workspace";q=600;w=60. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

An unexpected internal server error occurred.

Media typeapplication/problem+json

RFC 9457 problem details. code identifies the problem type (one per type URL); errors lists rejected fields or parameters; required_permission names the permission a 403 lacked.

object
type
required

URL identifying the problem type and pointing to its documentation.

string
title
required

Short, constant summary of the problem type.

string
status
required

HTTP status code.

integer format: int32
detail
required

Human-readable explanation of this occurrence of the problem.

string
instance
required

Path of the request that produced the problem.

string
code
required

Machine-readable problem type.

string
Allowed values: invalid_json invalid_parameter missing_parameter unknown_parameter invalid_filter invalid_cursor bad_request missing_api_key invalid_api_key expired_api_key revoked_api_key disabled_api_key insufficient_permissions resource_not_found route_not_found method_not_allowed not_acceptable precondition_failed content_too_large unsupported_media_type already_exists idempotency_outcome_unknown idempotency_key_in_use stack_not_empty branch_not_ready backup_not_ready backup_in_use default_branch_protected owner_membership_protected source_language_protected branch_limit_reached context_image_limit_reached automation_limit_reached translation_order_pending git_integration_not_configured branch_git_integration_not_configured git_integration_unauthorized conflict validation_failed idempotency_key_mismatch rate_limit_exceeded internal_error upstream_error service_unavailable upstream_timeout
request_id
required

Correlation id of the request, also returned in the X-Request-ID header. Quote it when contacting support.

string
errors

Rejected fields or parameters. Present when the problem concerns specific fields or parameters.

Array<object>

A rejected field or parameter. pointer locates a body field (RFC 6901 JSON Pointer), parameter a query, path or header parameter or a field of a multipart upload; both are set for a position inside a JSON-valued parameter such as filter.

object
detail
required

Human-readable description of the problem.

string
pointer
required

JSON Pointer to the offending body field, or to the position inside a JSON-valued parameter.

string | null
parameter
required

Name of the offending query, path or header parameter, or of the multipart form field.

string | null
code
required

Why the field or parameter was rejected.

string
Allowed values: required type enum minLength maxLength minimum maximum pattern format additionalProperties minItems maxItems uniqueItems already_exists not_found not_supported unsupported_file_extension file_too_large file_empty invalid_archive empty_archive
required_permission

The permission the API key lacks. Present on 403 responses.

object
scope
required

Where the permission applies.

string
Allowed values: WORKSPACE STACK
target
required

The area the permission governs.

string
Allowed values: GENERAL BILLING_SUBSCRIPTION WORKSPACES MEMBERS PLUGINS_INTEGRATIONS LOGS API_ACCESS STACKS TRANSLATION_ORDERS WORK_REPORTS STYLE_GUIDES GLOSSARIES TRANSLATION_MEMORIES LABELS AI_TRANSLATION QUICK_TRANSLATIONS SETTINGS ACTIVITIES RESOURCES CONTEXT_IMAGES LANGUAGES SEGMENT_KEYS SEGMENTS SEGMENT_TEXTS
level
required

The access level required.

string
Allowed values: NO_ACCESS VIEW WRITE MANAGE

Example

{
"type": "https://api.lingohub.com/errors/resource-not-found",
"title": "Resource not found",
"status": 404,
"detail": "Resource with ID 'pr_0197c8f2-5a6b-7cde-8f12-3456789abcde' was not found.",
"instance": "/v2/projects/pr_0197c8f2-5a6b-7cde-8f12-3456789abcde",
"code": "invalid_json",
"request_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"errors": [
{
"detail": "must be at least 2 characters long",
"pointer": "#/name",
"parameter": "limit",
"code": "minLength"
}
],
"required_permission": {
"scope": "WORKSPACE",
"target": "GENERAL",
"level": "NO_ACCESS"
}
}
RateLimit
string

State of the rate-limit policy currently closest to rejection (IETF draft-ietf-httpapi-ratelimit-headers): the quoted policy name with r = requests remaining right now and t = seconds until the full quota is available again. Example: "api-key";r=42;t=7. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

RateLimit-Policy
string

The rate-limit policies applied to the request: each quoted policy name with q = sustained request quota per window of w seconds. Example: "api-key";q=180;w=60, "workspace";q=600;w=60. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

The service is temporarily unavailable. Retry after the number of seconds in the Retry-After header.

Media typeapplication/problem+json

RFC 9457 problem details. code identifies the problem type (one per type URL); errors lists rejected fields or parameters; required_permission names the permission a 403 lacked.

object
type
required

URL identifying the problem type and pointing to its documentation.

string
title
required

Short, constant summary of the problem type.

string
status
required

HTTP status code.

integer format: int32
detail
required

Human-readable explanation of this occurrence of the problem.

string
instance
required

Path of the request that produced the problem.

string
code
required

Machine-readable problem type.

string
Allowed values: invalid_json invalid_parameter missing_parameter unknown_parameter invalid_filter invalid_cursor bad_request missing_api_key invalid_api_key expired_api_key revoked_api_key disabled_api_key insufficient_permissions resource_not_found route_not_found method_not_allowed not_acceptable precondition_failed content_too_large unsupported_media_type already_exists idempotency_outcome_unknown idempotency_key_in_use stack_not_empty branch_not_ready backup_not_ready backup_in_use default_branch_protected owner_membership_protected source_language_protected branch_limit_reached context_image_limit_reached automation_limit_reached translation_order_pending git_integration_not_configured branch_git_integration_not_configured git_integration_unauthorized conflict validation_failed idempotency_key_mismatch rate_limit_exceeded internal_error upstream_error service_unavailable upstream_timeout
request_id
required

Correlation id of the request, also returned in the X-Request-ID header. Quote it when contacting support.

string
errors

Rejected fields or parameters. Present when the problem concerns specific fields or parameters.

Array<object>

A rejected field or parameter. pointer locates a body field (RFC 6901 JSON Pointer), parameter a query, path or header parameter or a field of a multipart upload; both are set for a position inside a JSON-valued parameter such as filter.

object
detail
required

Human-readable description of the problem.

string
pointer
required

JSON Pointer to the offending body field, or to the position inside a JSON-valued parameter.

string | null
parameter
required

Name of the offending query, path or header parameter, or of the multipart form field.

string | null
code
required

Why the field or parameter was rejected.

string
Allowed values: required type enum minLength maxLength minimum maximum pattern format additionalProperties minItems maxItems uniqueItems already_exists not_found not_supported unsupported_file_extension file_too_large file_empty invalid_archive empty_archive
required_permission

The permission the API key lacks. Present on 403 responses.

object
scope
required

Where the permission applies.

string
Allowed values: WORKSPACE STACK
target
required

The area the permission governs.

string
Allowed values: GENERAL BILLING_SUBSCRIPTION WORKSPACES MEMBERS PLUGINS_INTEGRATIONS LOGS API_ACCESS STACKS TRANSLATION_ORDERS WORK_REPORTS STYLE_GUIDES GLOSSARIES TRANSLATION_MEMORIES LABELS AI_TRANSLATION QUICK_TRANSLATIONS SETTINGS ACTIVITIES RESOURCES CONTEXT_IMAGES LANGUAGES SEGMENT_KEYS SEGMENTS SEGMENT_TEXTS
level
required

The access level required.

string
Allowed values: NO_ACCESS VIEW WRITE MANAGE

Example

{
"type": "https://api.lingohub.com/errors/resource-not-found",
"title": "Resource not found",
"status": 404,
"detail": "Resource with ID 'pr_0197c8f2-5a6b-7cde-8f12-3456789abcde' was not found.",
"instance": "/v2/projects/pr_0197c8f2-5a6b-7cde-8f12-3456789abcde",
"code": "invalid_json",
"request_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"errors": [
{
"detail": "must be at least 2 characters long",
"pointer": "#/name",
"parameter": "limit",
"code": "minLength"
}
],
"required_permission": {
"scope": "WORKSPACE",
"target": "GENERAL",
"level": "NO_ACCESS"
}
}
Retry-After
integer format: int32

Seconds to wait before retrying.

RateLimit
string

State of the rate-limit policy currently closest to rejection (IETF draft-ietf-httpapi-ratelimit-headers): the quoted policy name with r = requests remaining right now and t = seconds until the full quota is available again. Example: "api-key";r=42;t=7. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.

RateLimit-Policy
string

The rate-limit policies applied to the request: each quoted policy name with q = sustained request quota per window of w seconds. Example: "api-key";q=180;w=60, "workspace";q=600;w=60. Advisory: absent when the request fails authentication or the limiter state is momentarily unknown.