KosmoKrator

productivity

Transifex Lua API for KosmoKrator Agents

Agent-facing Lua documentation and function reference for the Transifex KosmoKrator integration.

7 functions 7 read 0 write API token auth

Lua Namespace

Agents call this integration through app.integrations.transifex.*. Use lua_read_doc("integrations.transifex") inside KosmoKrator to discover the same reference at runtime.

Agent-Facing Lua Docs

This is the rendered version of the full Lua documentation exposed to agents when they inspect the integration namespace.

Transifex Integration

Tools

transifex_list_projects

List all Transifex projects.

Parameters: None.

transifex_get_project

Get details of a specific Transifex project.

Parameters:

  • project_id (string, required) — The project slug or ID.

transifex_list_resources

List all resources (source files) in a Transifex project.

Parameters:

  • project_id (string, required) — The project slug or ID.

transifex_get_resource

Get details of a specific Transifex resource.

Parameters:

  • project_id (string, required) — The project slug or ID.
  • resource_id (string, required) — The resource slug or ID.

transifex_list_translations

List translations for a specific resource in a Transifex project.

Parameters:

  • project_id (string, required) — The project slug or ID.
  • resource_id (string, required) — The resource slug or ID.
  • lang_code (string, optional) — Language code to filter translations (e.g., “fr”, “de”, “ja”).

transifex_list_languages

List all languages configured for a Transifex project.

Parameters:

  • project_id (string, required) — The project slug or ID.

transifex_get_current_user

Get information about the currently authenticated Transifex user.

Parameters: None.

Raw agent markdown
# Transifex Integration

## Tools

### transifex_list_projects
List all Transifex projects.

**Parameters:** None.

### transifex_get_project
Get details of a specific Transifex project.

**Parameters:**
- `project_id` (string, required) — The project slug or ID.

### transifex_list_resources
List all resources (source files) in a Transifex project.

**Parameters:**
- `project_id` (string, required) — The project slug or ID.

### transifex_get_resource
Get details of a specific Transifex resource.

**Parameters:**
- `project_id` (string, required) — The project slug or ID.
- `resource_id` (string, required) — The resource slug or ID.

### transifex_list_translations
List translations for a specific resource in a Transifex project.

**Parameters:**
- `project_id` (string, required) — The project slug or ID.
- `resource_id` (string, required) — The resource slug or ID.
- `lang_code` (string, optional) — Language code to filter translations (e.g., "fr", "de", "ja").

### transifex_list_languages
List all languages configured for a Transifex project.

**Parameters:**
- `project_id` (string, required) — The project slug or ID.

### transifex_get_current_user
Get information about the currently authenticated Transifex user.

**Parameters:** None.

Metadata-Derived Lua Example

local result = app.integrations.transifex.transifex_list_projects({})
print(result)

Functions

transifex_list_projects

List all Transifex projects. Returns project slugs, names, descriptions, and language statistics.

Operation
Read read
Full name
transifex.transifex_list_projects
ParameterTypeRequiredDescription
No parameters.

transifex_get_project

Get details of a specific Transifex project including its name, description, source language, and team.

Operation
Read read
Full name
transifex.transifex_get_project
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").

transifex_list_resources

List all resources (source files) in a Transifex project. Returns resource slugs, names, types, and word/string counts.

Operation
Read read
Full name
transifex.transifex_list_resources
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").

transifex_get_resource

Get details of a specific Transifex resource including its name, type, word count, string count, and translation progress.

Operation
Read read
Full name
transifex.transifex_get_resource
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").
resource_id string yes The resource slug or ID (e.g., "my-resource-slug").

transifex_list_translations

List translations for a specific resource in a Transifex project. Optionally filter by language code.

Operation
Read read
Full name
transifex.transifex_list_translations
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").
resource_id string yes The resource slug or ID (e.g., "my-resource-slug").
lang_code string no Optional language code to filter translations (e.g., "fr", "de", "ja").

transifex_list_languages

List all languages configured for a Transifex project. Returns language codes, names, and translation progress.

Operation
Read read
Full name
transifex.transifex_list_languages
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").

transifex_get_current_user

Get information about the currently authenticated Transifex user, including username, email, and account details.

Operation
Read read
Full name
transifex.transifex_get_current_user
ParameterTypeRequiredDescription
No parameters.