action motaword_get_language_pairs_report { label: "Language pairs report" description: "View translation reports for each language pair with translations under your account. You can view company-wide language pairs if you have the user permission." provider: motaword method: POST path: "/reports/language-pairs" encoding: json input: { type: "object" properties: { budget_code: { type: "string" description: "budget code filter. valid for corporate accounts only." } date_from: { type: "string" format: "date-time" description: "the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z" } date_to: { type: "string" format: "date-time" description: "the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z" } source_languages: { type: "array" description: "List of source language codes." items: { type: "string" } } target_languages: { type: "array" description: "List of target language codes." items: { type: "string" } } users: { type: "array" description: "List of corporate user IDs. Valid for corporate accounts only." items: { type: "integer" format: "int64" } } } } output: { type: "object" properties: { meta: { type: "object" properties: { paging: { type: "object" properties: { count: { type: "integer" format: "int64" } links: { type: "object" } page: { type: "integer" format: "int64" } per_page: { type: "integer" format: "int64" } total_count: { type: "integer" format: "int64" } } } } } report: { type: "array" items: { type: "object" properties: { language_pair: { type: "object" properties: { source_language: { type: "string" } target_language: { type: "string" } } } spending: { type: "number" format: "float" } word_count: { type: "integer" format: "int64" } } } } } } }