Api
List all projects in the organization associated with the API key.
Authorization
apiKey x-api-key<token>
API key from the LangRelay dashboard. Org-level keys can access all projects; project-scoped keys are restricted to one project.
In: header
Response Body
application/json
application/json
curl -X GET "https://api.langrelay.com/v1/projects"{
"data": [
{
"id": "proj_abc123",
"name": "Acme Corp Docs",
"originUrl": "string",
"sourceLanguage": "en",
"languages": [
"fr",
"de"
],
"plan": "starter",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
]
}{
"type": "https://api.langrelay.com/errors/bad-request",
"title": "Bad Request",
"status": 400,
"detail": "projectId and language query parameters are required."
}Translate content POST
Translate text, HTML, or structured JSON. Provide exactly one of `text`, `html`, or `content`. Translation memory is checked first (free), then glossary terms are enforced, and remaining strings are translated via LLM (metered by source word count).
Create a project POST
Create a new translation project. Platforms typically create one project per end-customer.