Faraatarjomeh API
Pages

For AI agents: this page as Markdown at https://faraatarjomeh.com/api/v1/docs/reference.md; all docs in one file at llms-full.txt.

API reference

Every endpoint an API key can call (193 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. One area at a time: /api/v1/docs/reference/account, /api/v1/docs/reference/translation, /api/v1/docs/reference/jobs, /api/v1/docs/reference/ai-tools, /api/v1/docs/reference/video, /api/v1/docs/reference/meetings, /api/v1/docs/reference/audio, /api/v1/docs/reference/farsi-tts, /api/v1/docs/reference/transcription, /api/v1/docs/reference/content, /api/v1/docs/reference/uploads, /api/v1/docs/reference/webhooks, /api/v1/docs/reference/payments, /api/v1/docs/reference/ai-assistants, /api/v1/docs/reference/profile.

At a glance#

Index#

Account#

Your account, Fara balance, and ledger.

POST /api/v1/estimate#

Get the price of any product

One call to price a translation, meeting, audio-to-text, video, Persian voice, podcast, audiobook or paid meeting tool before anything is uploaded. Free; nothing is held. faraCharged is the expected charge, hold what creating the job holds. The charge is the actual cost, so it can be a little above or below the hold. The per-product price calls stay for their extra details.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

EstimateRequest

Response 200

EstimateResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/estimate" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"feature":"translation"}'

GET /api/v1/account#

Get the account and its Fara balance

credits.balance is what you can spend now. Fara held for running jobs is in credits.reserved and already taken out of the balance.

Response 200

Account

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/account" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/account/transactions#

List Fara transactions

The Fara ledger, newest first, with cursor pagination. Filter by jobId to see the hold, charge, and refund of one job; the filter also returns its tool charges, section resends, and reprocess charges (rows whose relatedJobId is that job).

Parameters

Name In Type Required Notes
limit query integer no Items per page (1-100). — default: 20; min 1; max 100
startingAfter query string no Cursor: the nextCursor (or last id) of the previous page.
jobId query string no Only transactions of this job.
externalId query string no Early access: only transactions of jobs created with this externalId.

Response 200

TransactionPage

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/account/transactions" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/account/settings#

Get account settings

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Auto-delete period for meetings and transcriptions, and the low-balance webhook threshold.

Response 200

AccountSettings

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/account/settings" \
  -H "Authorization: Bearer $FARA_API_KEY"

PATCH /api/v1/account/settings#

Change account settings

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Send a field to set it, null to turn it off, or leave it out to keep it. Auto-delete runs hourly on finished meeting and audio-to-text jobs older than the period (same as DELETE; ledger rows stay).

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

AccountSettingsPatch

Response 200

AccountSettings

Responses

Example

curl
curl -sS -X PATCH "https://faraatarjomeh.com/api/v1/account/settings" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/v1/openapi.json#

Get this OpenAPI document

Public: works without a key. Also shown as a web page at /api/v1/docs.

Response 200

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/openapi.json" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/docs#

Get this reference as a web page

Public: works without a key.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/docs" \
  -H "Authorization: Bearer $FARA_API_KEY"

Translation#

Analyze, price, translate, and download documents.

GET /api/v1/translate/estimate#

Get the time estimate model

Numbers used to estimate how long a fast translation takes: the median of recent real chunk times (a fixed fallback when there are too few), and how many chunks run at once. For the estimate of a real document, analyze it.

Response 200

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/estimate" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/translate/analyze#

Analyze a PDF and get a price

Uploads a PDF, reads its text locally, and returns the page and word counts, the price in Fara per quality level (qualityEstimates), and a time estimate. Nothing is charged. Structured extraction is deferred until translation starts. The returned jobId has status analyzed; start it with POST /api/v1/translate/start/{jobId}. Large files can take several minutes: use a long client timeout, or the streaming version to show progress. A file over 100 MB, a file part that is not application/pdf, or a missing file answers 400 BAD_REQUEST. A scanned PDF (no text layer) is accepted: scannedSource is true, wordCount and the price are estimated from the page count, qualityPreviews is null, and the text is read from the page images when translation starts. The final charge is the real cost, as for every job. A file that cannot be accepted answers 422 EXTRACTION_EMPTY_OR_SCANNED; a broken or encrypted one 400 INVALID_PDF. When Word and EPUB input is on for the site, file may also be a Word .docx or an EPUB file (up to 100 MB). It is checked by its content, converted to PDF once, and then handled as a PDF. The job then has sourceFormat (docx or epub); it is null for a PDF upload. A file we cannot accept answers 415 UNSUPPORTED_FILE_TYPE, or 422 with one of DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE or DOCUMENT_CONVERSION_FAILED.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body multipart/form-data (required)

AnalyzeRequest

Request body application/json (required)

DocumentUrlRequest

Response 200

Analysis

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/analyze" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"fileUrl":"string"}'

POST /api/v1/translate/analyze-stream#

Upload a PDF for analysis with a progress stream

Stores the PDF and returns at once with an analysisId. Local text extraction starts only when you open GET /api/v1/translate/analyze-stream/{analysisId}/progress; open it within 30 minutes or the upload expires. When the stream sends complete, the analysisId is the job id to start. Nothing is charged; structured extraction is deferred until translation starts. A scanned PDF (no text layer) is accepted: scannedSource is true, wordCount and the price are estimated from the page count, qualityPreviews is null, and the text is read from the page images when translation starts. The final charge is the real cost, as for every job. A file that cannot be accepted sends an EXTRACTION_EMPTY_OR_SCANNED error event. A file over 100 MB, a file part that is not application/pdf, or a missing file answers 400 BAD_REQUEST.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body multipart/form-data (required)

AnalyzeRequest

Request body application/json (required)

DocumentUrlRequest

Response 200

AnalysisSession

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/analyze-stream" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"fileUrl":"string"}'

POST /api/v1/translate/analyze-stream/{analysisId}/resume#

Resume a saved local document analysis

Resumes your saved analysis with its original PDF, without uploading it again. Reading stays local and is free. Returns the same analysisId and stream URL, or the completed analysis snapshot when already available. Open the returned progress stream to continue. An active analysis returns ANALYSIS_IN_PROGRESS (409); reconnect to its existing stream. Once translation has started, use the translation job endpoints instead.

Parameters

Name In Type Required Notes
analysisId path string yes Analysis id returned by POST /api/v1/translate/analyze-stream.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

Field Type Required Notes
analysisId string yes
sseUrl string yes
status string no
analysis object no Result of document analysis. Nothing is charged for analysis.
analysis.jobId string yes Id of the analyzed job. Use it to start the translation.
analysis.filename string no
analysis.fileSize integer | null no Bytes. — may be null
analysis.pageCount integer | null no may be null
analysis.wordCount integer | null no may be null
analysis.charCount integer | null no may be null
analysis.totalChunks integer no Number of translation sections.
analysis.paragraphCount integer | null no may be null
analysis.quality string | null no may be null
analysis.workflow string no Default translation workflow.
analysis.availableWorkflows string[] no Workflows you may pass to start.
analysis.imageCount integer no
analysis.scannedSource boolean no True when the PDF has no text layer. The text is read from the page images when translation starts; wordCount and the price are estimated from the page count, and qualityPreviews is null.
analysis.sourceLanguageNotice string no Present only as persian when the PDF text is already mostly Persian. Such a document can be translated into another language: send targetLanguage at start. qualityPreviews is null (no sample translation is made). — one of: persian
analysis.estimatedMinutes integer | null no Minutes for fast delivery, from recent real chunk times (see timeEstimate). — may be null
analysis.estimatedPrice number | null no Estimated price in Fara. Every translation runs fast; qualityEstimates[].estimatedCostEconomy is the same number. — may be null
analysis.timeEstimate object no How estimatedMinutes was computed: totalMinutes, chunksPerBatch (chunks that run at once), estimatedBatches (waves), minutesPerChunk, sampleCount, isDefault, source (measured_median or fallback). Display only.
analysis.qualityPreviews object | null no Short sample translations of one passage, one entry per quality level. The entries have the same text now. Null when previews are off or all failed. — may be null
analysis.qualityPreviews.sourceExcerpt object no The English passage used: text, sourceChunkNumber, totalChunks, charCount, wordCount.
analysis.qualityPreviews.variants object[] no
analysis.qualityPreviews.generatedAt string | null no may be null
analysis.qualityEstimates object[] no Price and time per quality level; all three cost the same. Use this as the quote; the balance check at start is computed the same way.
analysis.qualityEstimates[].quality string yes one of: simple, medium, highest
analysis.qualityEstimates[].estimatedCost number yes Fara for fast (realtime) delivery.
analysis.qualityEstimates[].estimatedCostEconomy number yes Kept for old clients. Equal to estimatedCost, because every translation runs fast.
analysis.qualityEstimates[].estimatedMinutes integer yes Minutes for fast delivery.
analysis.status string yes analyzed.
analysis.freePreviewOffer object | null no The free first pages: each verified account may translate the first pages of one PDF free, once. Start with freePreview: true. Null when switched off. — may be null
analysis.freePreviewOffer.available boolean no True when this account can translate the first pages of this document free now.
analysis.freePreviewOffer.pages integer no How many leading pages are free.
analysis.freePreviewOffer.freePages integer no Free pages of this document (fewer when the document is shorter).
analysis.freePreviewOffer.wholeDocument boolean no The whole document fits in the free pages.
analysis.freePreviewOffer.reason string | null no Why it is not available: disabled, not_verified, used, rest_of_preview, or null. — may be null
analysis.imageTranslation object no Translating the text inside images (charts, diagrams, infographics). The number of images with text is known only after the document is read, so the price is per image and is added to the charge. Switch it off with translateImages: false at start.
analysis.imageTranslation.available boolean no True when image translation can be chosen for this document.
analysis.imageTranslation.default boolean no True: it is on unless the start request sends translateImages: false.
analysis.imageTranslation.pricePerImage number no Expected price in Fara of one image that has text to translate. Images without text cost nothing.
analysis.previewOf string no On the rest of a previewed book: the free preview job it follows. Its prices already take off the free pages' share.
analysis.pageRangeOffer object | null no On a whole-file analysis while the page-range feature is on: the chapters offered for POST /api/v1/translate/{jobId}/page-range. Absent on a part and while the feature is off. — may be null
analysis.pageRangeOffer.pageCount integer no Pages in the file.
analysis.pageRangeOffer.chapters array | null no Chapters from the PDF outline, in order. Null when the PDF has no usable outline. — may be null
analysis.pageRange object | null no On a part of a file: the pages it covers. Absent on a whole file. — may be null
analysis.pageRange.from integer no First page of the part (1-based).
analysis.pageRange.to integer no Last page of the part (1-based, inclusive).
analysis.pageRange.totalPages integer | null no Pages in the whole file. — may be null
analysis.pageRange.sourceJobId string | null no The job the part was cut from, or null for an upload. — may be null

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/analyze-stream/$ANALYSIS_ID/resume" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/translate/analyze-stream/{analysisId}/progress#

Follow analysis progress (Server-Sent Events)

A text/event-stream. Each event is data: <JSON> (see AnalysisProgressEvent). Comment lines (:) are keep-alives every 15 seconds. The stream ends after a complete or error event, or after 20 minutes with no events.

Parameters

Name In Type Required Notes
analysisId path string yes Analysis id returned by POST /api/v1/translate/analyze-stream.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/analyze-stream/$ANALYSIS_ID/progress" \
  -H "Authorization: Bearer $FARA_API_KEY"

DELETE /api/v1/translate/analyze-stream/{analysisId}#

Cancel a running analysis

Parameters

Name In Type Required Notes
analysisId path string yes Analysis id returned by POST /api/v1/translate/analyze-stream.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

MessageResponse

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/translate/analyze-stream/$ANALYSIS_ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/translate/{id}/analysis#

Get a saved analysis

Same shape as the analysis result. Use it to show the price again later.

Parameters

Name In Type Required Notes
id path string yes Translation job id.

Response 200

Analysis

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$ID/analysis" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/translate/resumable#

List analyzed or still-analyzing uploads

Documents that were analyzed but not started, and analyses still running.

Response 200

ResumableUploads

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/resumable" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/translate/pdf-styles#

Get PDF style options

Defaults and allowed ranges for custom PDF styles.

Response 200

Field Type Required Notes
defaults object no
options object no

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/pdf-styles" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/translate/{jobId}/custom-pdf#

Make a PDF of a finished translation with your own styles

Returns the PDF directly. It is not stored. Free.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

CustomPdfRequest

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/custom-pdf" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

POST /api/v1/translate/extract-farsi-book-pdf#

Reformat a Persian PDF

Takes a PDF that already contains Persian text and returns a clean, formatted Persian PDF. No translation. Free. A file over 100 MB, a file part that is not application/pdf, or a missing file answers 400 BAD_REQUEST.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body multipart/form-data (required)

FarsiBookRequest

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/extract-farsi-book-pdf" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -F "file=@./your-file"

POST /api/v1/translate/magazine-translate-pdf#

Translate a magazine-style PDF in one call

Translates the PDF and returns the translated PDF in the same response. No job is created. Fara is held from the page count (350 words per page), then charged from the words actually translated; on failure it is released. This can take many minutes, so use a long client timeout. The answer is a file, so an Idempotency-Key repeat gets 409 IDEMPOTENCY_KEY_ALREADY_USED (with originalStatus) instead of a replay. A file over 100 MB, a file part that is not application/pdf, or a missing file answers 400 BAD_REQUEST.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body multipart/form-data (required)

MagazineRequest

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/magazine-translate-pdf" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -F "file=@./your-file"

POST /api/v1/translate/start/{jobId}#

Start translating an analyzed document

Queues the translation. With freePreview: true only the first pages are translated, free (see freePreviewOffer). The balance is checked now against the price (402 INSUFFICIENT_CREDITS with balance and estimatedCost; 503 when the balance could not be checked). Fara is held when the job begins running and charged at the actual cost when it finishes; the actual cost can be higher or lower than the estimate. Leave executionMode out (every translation runs fast); economy_batch is accepted and runs as realtime. An unknown value answers 400 INVALID_EXECUTION_MODE. A job that is not analyzed (already started, cancelled, or deleted) answers 400 BAD_REQUEST; two starts at the same moment answer 409. Poll GET /api/v1/translate/status/{jobId}, or listen for translation.completed webhooks.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

StartTranslationRequest

Response 202

StartTranslationResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/start/$JOB_ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

POST /api/v1/translate/{jobId}/translate-rest#

Translate the rest after the free first pages

After a free preview completes, makes a new analyzed job for the whole document from the same upload. Nothing is charged here: start it with POST /api/v1/translate/start/{jobId} like any analyzed job. Its prices take off the free pages' share (price × (1 − free pages ÷ total pages)). Asking again returns the same job (200); the first call answers 201. A job that is not a free preview answers 400 NOT_A_FREE_PREVIEW; a preview still running 409 PREVIEW_NOT_FINISHED; a preview that covered every page 409 PREVIEW_COVERED_WHOLE_DOCUMENT; a preview whose file is gone 410 PREVIEW_SOURCE_GONE.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

Analysis

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/translate-rest" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/translate/{jobId}/page-range#

Translate part of a file (a page range or chapters)

Only when the page-range feature is on; otherwise 404 FEATURE_DISABLED. Give pageFrom and pageTo, or chapters (indexes from the job's pageRangeOffer). The pages are cut from the stored original and made into a new analysis, returned like POST /api/v1/translate/analyze-stream (analysisId, sseUrl). The part is priced by that analysis; the parent job is not charged. The same range again within 30 minutes returns the same part while that part is still usable; if the same range is still being prepared by another request, the call waits a few seconds, then answers 409 PAGE_RANGE_BUSY. A range covering the whole file answers 400 INVALID_PAGE_RANGE; PAGE_RANGE_OUT_OF_BOUNDS and PAGE_RANGE_NOT_CONTIGUOUS are 400 too. A part of a part answers 409 PAGE_RANGE_PARENT_IS_PART; a job not analysed yet 409 JOB_NOT_READY. A missing original answers 410 PAGE_RANGE_SOURCE_GONE. When the pages cannot be cut the answer is 422 PAGE_RANGE_UNAVAILABLE; the whole file is never used instead.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

PageRangeRequest

Response 200

AnalysisSession

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/page-range" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

DELETE /api/v1/translate/analyze/{jobId}#

Discard an analyzed document

Only for jobs still analyzed (not started).

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

MessageResponse

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/translate/analyze/$JOB_ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/translate/upload#

Upload a PDF and start translating at once

Analyze and start in one call. The job runs fast at the fast price. To see the price first, use analyze + start instead. Use a new Idempotency-Key for every file: for uploads the key only covers the URL, not the file. A file over 100 MB, a file part that is not application/pdf, or a missing file answers 400 BAD_REQUEST. When Word and EPUB input is on for the site, file may also be a Word .docx or an EPUB file (up to 100 MB). It is checked by its content, converted to PDF once, and then handled as a PDF. The job then has sourceFormat (docx or epub); it is null for a PDF upload. A file we cannot accept answers 415 UNSUPPORTED_FILE_TYPE, or 422 with one of DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE or DOCUMENT_CONVERSION_FAILED. A PDF with no readable text answers 400 BAD_REQUEST.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body multipart/form-data (required)

UploadRequest

Request body application/json (required)

DocumentUrlRequest

Response 202

UploadResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/upload" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"fileUrl":"string"}'

GET /api/v1/translate/status/{jobId}#

Get translation status and prices

Progress, the price while the job is analyzed, outputs, and which sections failed. The recommended endpoint to poll (every 30 s for fast jobs, every 10 minutes in economy waiting states); it answers for every job you have not deleted.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

TranslationStatus

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/status/$JOB_ID" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/translate/download/{jobId}/{type}#

Download a translation output

pdf and docx need a completed or completed_partial job. slides-pptx and slides-pdf need slide files (POST /api/v1/translate/{jobId}/slides/generate-files). podcast-audio and audiobook-audio need a made podcast or audiobook.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
type path string yes Which file. — one of: pdf, docx, slides-pptx, slides-pdf, podcast-audio, audiobook-audio

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/download/$JOB_ID/$TYPE" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/translate/{jobId}/bilingual#

Get the English and Persian text side by side

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

BilingualContent

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/bilingual" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/translate/{jobId}/regenerate#

Rebuild the PDF and DOCX from the current translation

Free. Only for completed or completed_partial jobs.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

RegenerateRequest

Response 200

RegenerateResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/regenerate" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

POST /api/v1/translate/{jobId}/resend-chunks#

Translate failed or empty sections again

Re-translates only the sections that failed, then rebuilds the files. Synchronous: answers when done, which can take several minutes. Only for completed, completed_partial, or failed jobs (400 otherwise). Uses the job's one retry when it re-translates anything. Fara is held first and the actual cost of what was re-translated is charged; nothing when nothing was re-translated. type=empty re-translates nothing on current jobs; use all. If sections still fail, the job is locked for our team (retryLocked, adminReviewRequired in the answer).

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
type query string no Which sections to send again. — one of: all, failed, empty; default: "all"
retryableOnly query string no Only sections that failed for a temporary reason. — one of: true, false; default: "false"
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

ResendChunksRequest

Response 200

ResendChunksResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/resend-chunks" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

POST /api/v1/translate/{jobId}/resend-empty#

Translate empty sections again (old path)

Deprecated. Answers 307 to POST /api/v1/translate/{jobId}/resend-chunks?type=empty, which re-translates nothing on current jobs. Use POST /api/v1/translate/{jobId}/resend-chunks with type=all instead.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/resend-empty" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/translate/history#

List translated documents

Page-based. Lists every translation of the account in every state (queued, running, waiting in an older economy state, priced but not started, failed, cancelled, completed). Deleted translations are not listed. Includes which extra tools (slides, mind map, and so on) exist for each finished document. Analyzed uploads that were never started are listed for 7 days after they were created.

Parameters

Name In Type Required Notes
page query integer no Page number, starting at 1. — default: 1; min 1
limit query integer no Items per page (1-100). — default: 20; min 1; max 100
status query string no Filter by status. — one of: all, pending, processing, completed, failed, completed_partial; default: "all"
sortBy query string no Sort field. — one of: createdAt, filename; default: "createdAt"
sortOrder query string no Sort order. — one of: asc, desc; default: "desc"
q query string no Search by name. Matches the name given to the job or its original file name, ignoring case. Plain text, at most 100 characters; blank means no search. — max length 100

Response 200

TranslationHistory

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/history" \
  -H "Authorization: Bearer $FARA_API_KEY"

Jobs#

Translation jobs: list, status, retry, cancel.

GET /api/v1/jobs#

List translation jobs

Newest first. Page-based pagination.

Parameters

Name In Type Required Notes
page query integer no Page number, starting at 1. — default: 1; min 1
limit query integer no Items per page (1-100). — default: 20; min 1; max 100

Response 200

TranslationJobList

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/jobs/{jobId}#

Get a translation job Deprecated.

Deprecated for API keys: use GET /api/v1/translate/status/{jobId}. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

The job with its outputs. For polling prefer GET /api/v1/translate/status/{jobId} (the webhook links.self): this endpoint answers 404 for an analyzed job older than 24 hours and for failed or cancelled jobs without output once their short-lived data expired. End states: completed, completed_partial, failed, cancelled.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

TranslationJob

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/jobs/$JOB_ID" \
  -H "Authorization: Bearer $FARA_API_KEY"

DELETE /api/v1/jobs/{jobId}#

Cancel or delete a translation job

A running job is cancelled and its held Fara is released. A finished job is deleted from your list. To cancel only, use POST /api/v1/jobs/{jobId}/cancel, which never deletes. With onlyFinished=1 the call never cancels: a job that is not finished answers 409 JOB_NOT_FINISHED and nothing changes.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
onlyFinished query string no 1: delete only a finished job; a running or waiting one answers 409 JOB_NOT_FINISHED and is left alone. — one of: 1
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

MessageResponse

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/jobs/$JOB_ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/jobs/{jobId}/retry#

Retry a failed or cancelled translation

Translates the whole document again with the same settings. Only failed or cancelled jobs (400 otherwise), within 3 days of a failure or 1 day of a cancel (404 later). Each job has one retry from your side, shared with resend-chunks and recover (423 RETRY_LIMIT_REACHED when used). The balance is checked again; Fara is held when the job runs.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

RetryResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/jobs/$JOB_ID/retry" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/jobs/{jobId}/cancel#

Cancel a translation job

Cancels a job that has not finished (analyzed, waiting or running) and releases its held Fara, like POST …/cancel on every other product. A finished job answers 409 and is left alone.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

MessageResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/jobs/$JOB_ID/cancel" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/jobs/{jobId}/images#

Choose what happens to the pictures of a waiting job

For a job with status images_waiting: the balance does not cover the pictures with text, so the text is translated and the pictures wait for your choice. all translates every picture (402 INSUFFICIENT_CREDITS with shortFara when the balance does not cover the quoted price). part translates the first pictures the balance covers (402 when it covers none). none goes on without translating pictures and charges only for the text. The job is queued again at once. Sending the same choice again answers the stored result; another choice, or a job that is not waiting, answers 409 IMAGES_CHOICE_CLOSED.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

Field Type Required Notes
choice string yes all, part or none. — one of: all, part, none

Response 200

Field Type Required Notes
jobId string yes
choice string yes all, part or none.
status string yes pending for a choice that was just accepted. On a replay of the same choice, the job's current status (for example pending, processing or completed).

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/jobs/$JOB_ID/images" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"choice":"all"}'

POST /api/v1/jobs/{jobId}/recover#

Recover a stuck or failed translation

Looks at what is stored for the job and does the safe thing: re-attaches to a run that is still going, rebuilds the files if the translation is done, or queues the job again (this uses the one free retry and spends Fara like a retry). recovery.action says what happened. Works on analyzed, pending, processing, failed, and cancelled jobs. The body is optional. Re-queueing a pending or processing job answers 409 ADMIN_REVIEW_REQUIRED; forceRequeue answers 403 ADMIN_REVIEW_REQUIRED.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

RecoverRequest

Response 200

RecoverResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/jobs/$JOB_ID/recover" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

AI tools#

Extras made from a finished translation: LinkedIn posts, proofreading, slides, mind map, summary, podcast, audiobook.

GET /api/v1/translate/{jobId}/tools/price#

Price the slides, mind map and LinkedIn posts

Free and makes no hold. Gives the Fara that POST /api/v1/translate/{jobId}/slides, /mindmap and /linkedin would hold now, from the same text. The price is an estimate: the charge is the actual cost, never more than this amount. Only while the price-first switch is on; while it is off the answer is 404 FEATURE_DISABLED. A tool with available: false is too short to make (no faraCharged). If no tool is usable the answer is 400, the same as the POSTs.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

Field Type Required Notes
jobId string no
capped boolean no Always true: the charge never goes above the price shown.
tools object no
tools.slides object no
tools.slides.available boolean no
tools.slides.faraCharged number no Fara the POST would hold. 0 when the owner is not billed. Missing when available is false.
tools.mindmap object no
tools.mindmap.available boolean no
tools.mindmap.faraCharged number no Fara the POST would hold. 0 when the owner is not billed. Missing when available is false.
tools.linkedin object no
tools.linkedin.available boolean no
tools.linkedin.faraCharged number no Fara the POST would hold. 0 when the owner is not billed. Missing when available is false.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/tools/price" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/translate/{jobId}/linkedin#

Get saved LinkedIn posts

Returns the saved result, or saved: false when there is none yet.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

LinkedInPosts

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/linkedin" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/translate/{jobId}/linkedin#

Make LinkedIn posts from a finished translation

Synchronous; can take several minutes (up to 3 attempts of up to 10 minutes each). Fara is held first (402 INSUFFICIENT_CREDITS if too low), then the actual cost is charged (faraCost). If it fails, only work already done is charged. Each call makes a new result, replaces the saved one, and charges again: always send an Idempotency-Key. The result is saved and can be read again for free. Price first (only while the price-first switch is on): read the price with GET /api/v1/translate/{jobId}/tools/price. Send maxFara in the body to refuse a higher price: the answer is 409 PRICE_CHANGED with faraCharged, and nothing is held. The charge never goes above the hold; the answer has heldFara and refundedFara.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

Field Type Required Notes
maxFara number no The most Fara you agree to pay (0 or more). Only read while the price-first switch is on. If the price is above it, the answer is 409 PRICE_CHANGED and nothing is held.

Response 200

LinkedInPosts

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/linkedin" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

DELETE /api/v1/translate/{jobId}/linkedin#

Delete saved LinkedIn posts

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/linkedin" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/translate/{jobId}/proofread#

Get saved proofreading suggestions

Returns the saved result, or saved: false when there is none yet.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

Proofreading

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/proofread" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/translate/{jobId}/proofread#

Make proofreading suggestions from a finished translation

Synchronous; can take several minutes (up to 3 attempts of up to 10 minutes each). Fara is held first (402 INSUFFICIENT_CREDITS if too low), then the actual cost is charged (faraCost). If it fails, only work already done is charged. Each call makes a new result, replaces the saved one, and charges again: always send an Idempotency-Key. The result is saved and can be read again for free. Switched off by default: while off it answers 503 FEATURE_DISABLED and nothing is held.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

Proofreading

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/proofread" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

DELETE /api/v1/translate/{jobId}/proofread#

Delete saved proofreading suggestions

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/proofread" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/translate/slides/design-styles#

List slide design styles

Response 200

Field Type Required Notes
pptx object no
pdf object no
pricing object no

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/slides/design-styles" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/translate/{jobId}/slides#

Get saved slides

Returns the saved result, or saved: false when there is none yet.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

Slides

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/slides" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/translate/{jobId}/slides#

Make slides from a finished translation

Synchronous; can take several minutes (up to 3 attempts of up to 10 minutes each). Fara is held first (402 INSUFFICIENT_CREDITS if too low), then the actual cost is charged (faraCost). If it fails, only work already done is charged. Each call makes a new result, replaces the saved one, and charges again: always send an Idempotency-Key. The result is saved and can be read again for free. Price first (only while the price-first switch is on): read the price with GET /api/v1/translate/{jobId}/tools/price. Send maxFara in the body to refuse a higher price: the answer is 409 PRICE_CHANGED with faraCharged, and nothing is held. The charge never goes above the hold; the answer has heldFara and refundedFara.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

Field Type Required Notes
maxFara number no The most Fara you agree to pay (0 or more). Only read while the price-first switch is on. If the price is above it, the answer is 409 PRICE_CHANGED and nothing is held.

Response 200

Slides

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/slides" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

DELETE /api/v1/translate/{jobId}/slides#

Delete saved slides

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/slides" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/translate/{jobId}/slides/generate-files#

Make PPTX and PDF files from saved slides

Free. Download them with GET /api/v1/translate/download/{jobId}/slides-pptx and slides-pdf.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

SlidesFilesRequest

Response 200

SlidesFiles

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/slides/generate-files" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/v1/translate/mindmap/spec#

List mind map color sets

Response 200

Field Type Required Notes
colorHarmonies object[] no

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/mindmap/spec" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/translate/{jobId}/mindmap#

Get saved a mind map

Returns the saved result, or saved: false when there is none yet.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

Mindmap

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/mindmap" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/translate/{jobId}/mindmap#

Make a mind map from a finished translation

Synchronous; can take several minutes (up to 3 attempts of up to 10 minutes each). Fara is held first (402 INSUFFICIENT_CREDITS if too low), then the actual cost is charged (faraCost). If it fails, only work already done is charged. Each call makes a new result, replaces the saved one, and charges again: always send an Idempotency-Key. The result is saved and can be read again for free. Price first (only while the price-first switch is on): read the price with GET /api/v1/translate/{jobId}/tools/price. Send maxFara in the body to refuse a higher price: the answer is 409 PRICE_CHANGED with faraCharged, and nothing is held. The charge never goes above the hold; the answer has heldFara and refundedFara.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

Field Type Required Notes
maxFara number no The most Fara you agree to pay (0 or more). Only read while the price-first switch is on. If the price is above it, the answer is 409 PRICE_CHANGED and nothing is held.

Response 200

Mindmap

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/mindmap" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

DELETE /api/v1/translate/{jobId}/mindmap#

Delete saved a mind map

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/mindmap" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/translate/{jobId}/mindmap/pdf#

Get the saved mind map as a PDF

Free. Returns the PDF directly.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

MindmapPdfRequest

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/mindmap/pdf" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/v1/translate/{jobId}/summary#

Get the document summary

The Persian summary made during translation. Included in the translation price.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

Digest

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/summary" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/translate/{jobId}/summary#

Load the document summary

Same as GET, kept for older clients. Free; 404 when no summary exists.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

Digest

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/summary" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

DELETE /api/v1/translate/{jobId}/summary#

Delete the saved summary

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/summary" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/translate/{jobId}/digest#

Get the document digest

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

Digest

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/digest" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/translate/{jobId}/summary-card#

Get the summary card (PNG or PDF)

Free. A one-page card of the brief summary (brief in the digest answer). When the brief is not ready, answers 409 SUMMARY_NOT_READY and starts making it in the background: ask again in a few seconds.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
format query string no Image format of the card. — one of: png, pdf; default: "png"

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/summary-card" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/translate/{jobId}/summary/pdf#

Get the summary as a PDF

Free. Returns the PDF directly.

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

SummaryPdfRequest

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/summary/pdf" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/v1/translate/{jobId}/podcast#

Get the saved podcast

Make one with POST /api/v1/audio/jobs (feature: podcast).

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

AudioFeature

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/podcast" \
  -H "Authorization: Bearer $FARA_API_KEY"

DELETE /api/v1/translate/{jobId}/podcast#

Delete the saved podcast

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/podcast" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/translate/{jobId}/audiobook#

Get the saved audiobook

Make one with POST /api/v1/audio/jobs (feature: audiobook).

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).

Response 200

AudioFeature

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/audiobook" \
  -H "Authorization: Bearer $FARA_API_KEY"

DELETE /api/v1/translate/{jobId}/audiobook#

Delete the saved audiobook

Parameters

Name In Type Required Notes
jobId path string yes Translation job id (returned by analysis or upload).
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/translate/$JOB_ID/audiobook" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Video#

Translate YouTube videos or uploaded video files into Persian subtitles or voice.

GET /api/v1/video/voices#

List voices for dubbed video

Response 200

VideoVoices

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/video/voices" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/video/preferences#

Get video preferences

Response 200

VideoPreferences

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/video/preferences" \
  -H "Authorization: Bearer $FARA_API_KEY"

PUT /api/v1/video/preferences#

Save video preferences

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

Field Type Required Notes
reviewBeforeRender boolean yes

Response 200

VideoPreferences

Responses

Example

curl
curl -sS -X PUT "https://faraatarjomeh.com/api/v1/video/preferences" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"reviewBeforeRender":true}'

POST /api/v1/video/jobs/estimate#

Get prices for a video

Free. Reads the length of a YouTube video or of an uploaded video file, and returns the price of each output type. An uploaded file answers 400 UNSUPPORTED_VIDEO_FILE when it is not a video we can read.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

VideoEstimateRequest

Response 200

VideoEstimate

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/video/jobs/estimate" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/v1/video/jobs#

List video jobs

Parameters

Name In Type Required Notes
limit query integer no Items to return (at most 50). — default: 20; min 1; max 50
offset query integer no Items to skip. — default: 0; min 0
q query string no Search by name. Matches the name given to the job or its original file name, ignoring case. Plain text, at most 100 characters; blank means no search. — max length 100

Response 200

VideoJobList

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/video/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/video/jobs#

Translate a video

The video is a YouTube link (url) or a video file sent as a chunked upload (POST /api/v1/uploads with purpose: video, then uploadId here). The upload errors (UPLOAD_NOT_FOUND, UPLOAD_EXPIRED, UPLOAD_INCOMPLETE, UPLOAD_ALREADY_USED, UPLOAD_CHECKSUM_MISMATCH) and UNSUPPORTED_VIDEO_FILE come from this call. Fara is held when the job is created and charged at the actual cost when it finishes; released on failure or cancel. If review is on, the job stops at awaiting_review: edit segments, then approve.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

VideoCreateRequest

Response 201

VideoCreateResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/video/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"outputMode":"farsi_subs"}'

GET /api/v1/video/jobs/{id}#

Get a video job

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

VideoJobEnvelope

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/video/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY"

DELETE /api/v1/video/jobs/{id}#

Delete a video translation permanently

Removes the video, its subtitles and output files from our servers. Ledger rows stay. Only finished jobs (completed, failed, cancelled): a running or queued job answers 409 JOB_NOT_FINISHED; cancel it first. Afterwards the job answers 404.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/video/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

PATCH /api/v1/video/jobs/{id}/segments/{segmentId}#

Edit the Persian text of one segment

Only while awaiting_review. Send the current reviewVersion in If-Match; the answer gives the new one.

Parameters

Name In Type Required Notes
id path string yes Job id.
segmentId path string yes Segment id from the job's review data.
If-Match header string yes The job's current reviewVersion, bare (3) or quoted ("3").
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

SegmentEditRequest

Response 200

ReviewEditResponse

Responses

Example

curl
curl -sS -X PATCH "https://faraatarjomeh.com/api/v1/video/jobs/$ID/segments/$SEGMENT_ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H 'If-Match: "$REVIEW_VERSION"' \
  -H "Content-Type: application/json" \
  -d '{"farsi":"string"}'

POST /api/v1/video/jobs/{id}/approve#

Approve the review and make the video

Uses the Fara already held; nothing new is held.

Parameters

Name In Type Required Notes
id path string yes Job id.
If-Match header string yes The job's current reviewVersion, bare (3) or quoted ("3").
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

ApproveResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/video/jobs/$ID/approve" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H 'If-Match: "$REVIEW_VERSION"'

POST /api/v1/video/jobs/{id}/reprocess#

Make the final video again

Re-runs the last step (mixing the final video) for a completed or failed job that passed review. Holds the job's price again.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

QueueResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/video/jobs/$ID/reprocess" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/video/jobs/{id}/resume#

Resume or retry a video job

For a failed job this holds the price again and restarts it. For a stuck job it picks up where it stopped using the Fara already held.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

QueueResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/video/jobs/$ID/resume" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/video/jobs/{id}/cancel#

Cancel a video job

Releases the held Fara. Not possible once the final step has started.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

OkResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/video/jobs/$ID/cancel" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/video/jobs/{id}/download#

Download the translated video

Supports Range requests.

Parameters

Name In Type Required Notes
id path string yes Job id.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/video/jobs/$ID/download" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/video/jobs/{id}/preview#

Stream the translated video inline

Same file as download, sent inline for players. Supports Range requests.

Parameters

Name In Type Required Notes
id path string yes Job id.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/video/jobs/$ID/preview" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/video/jobs/{id}/captions#

Download Persian captions (WebVTT)

Parameters

Name In Type Required Notes
id path string yes Job id.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/video/jobs/$ID/captions" \
  -H "Authorization: Bearer $FARA_API_KEY"

Meetings#

Meeting minutes from a recording.

GET /api/v1/meetings/branding#

Get the branding for minutes (logo, and with early access the company name, header, footer, notice and colours)

Response 200

MeetingBranding

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/branding" \
  -H "Authorization: Bearer $FARA_API_KEY"

PUT /api/v1/meetings/branding#

Set the company name, header, footer, notice and colours

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Applied to every PDF and Word document made after the call, like the logo (documents made before keep their look until they are rebuilt). Send the whole set: a field left out or empty is cleared. Free.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingBrandingTextRequest

Response 200

MeetingBrandingTextResponse

Responses

Example

curl
curl -sS -X PUT "https://faraatarjomeh.com/api/v1/meetings/branding" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/v1/meetings/categories#

Get the account's meeting categories

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Free.

Response 200

MeetingCategories

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/categories" \
  -H "Authorization: Bearer $FARA_API_KEY"

PUT /api/v1/meetings/categories#

Set the account's meeting categories

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Your own list (up to 50). While writing the minutes, one is picked for each meeting (minutes.category, or "" when none fits) and 1-3 minutes.tags are added, at no extra charge. Applies to minutes written after the call, and to rebuilds and revisions. Free.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingCategories

Response 200

MeetingCategories

Responses

Example

curl
curl -sS -X PUT "https://faraatarjomeh.com/api/v1/meetings/categories" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"categories":[]}'

Download the company logo

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/branding/logo" \
  -H "Authorization: Bearer $FARA_API_KEY"

Upload or replace the company logo

Used on minutes PDFs made from now on.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body multipart/form-data (required)

MeetingLogoRequest

Response 201

MeetingLogoResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/branding/logo" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -F "logo=@./your-file"

Remove the company logo

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

OkResponse

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/meetings/branding/logo" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/meetings/pricing#

Get meeting minutes pricing

Response 200

MeetingPricing

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/pricing" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/meetings/jobs#

List meeting jobs

Parameters

Name In Type Required Notes
limit query integer no Items to return (at most 50). — default: 20; min 1; max 50
offset query integer no Items to skip. — default: 0; min 0
externalId query string no Early access: only jobs created with this externalId.
idempotencyKey query string no Early access: the job a create request with this Idempotency-Key made (kept 24 hours). Empty list when that request created nothing; 409 IDEMPOTENCY_KEY_IN_USE while it is still running.
q query string no Search by name. Matches the name given to the job or its original file name, ignoring case. Plain text, at most 100 characters; blank means no search. — max length 100

Response 200

MeetingJobList

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/meetings/jobs#

Make meeting minutes from a recording

Fara is held from the audio length when the job is created, charged at the actual cost when it finishes, and released on failure or cancel. The job goes straight to the minutes PDF: it does not stop at awaiting_review (the minutes-edit and approve endpoints answer 409 for new jobs). A file over 200 MB answers 400 BAD_REQUEST (its message may say 100MB). For a larger file, or a connection that may break, send it as a chunked upload (POST /api/v1/uploads with purpose: meeting) and create the job with a JSON body holding uploadId: the upload errors (UPLOAD_NOT_FOUND, UPLOAD_EXPIRED, UPLOAD_INCOMPLETE, UPLOAD_ALREADY_USED, UPLOAD_CHECKSUM_MISMATCH) come from this call. A refused create leaves the upload open, so it can be used again (for example after a top-up). Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Every account may choose the minutes language (outputLanguage), the document (output: full minutes, summary, key points, or the transcript alone) and a free mind map (mindmap). Early-access accounts get timed minutes, and may send attendees, template, externalId, metadata, or a JSON body with audioUrl instead of a file.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body multipart/form-data (required)

MeetingCreateRequest

Request body application/json (required)

MeetingCreateUrlRequest

Response 201

MediaCreateResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/v1/meetings/jobs/{id}#

Get a meeting job

Parameters

Name In Type Required Notes
id path string yes Job id.
full query string no Send 1 to include word timings in the transcript. — one of: 1

Response 200

MeetingJobEnvelope

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY"

DELETE /api/v1/meetings/jobs/{id}#

Delete a meeting permanently

Removes the audio, transcript, minutes, PDF and tool results from our servers. Ledger rows stay. Only finished jobs (completed, failed, cancelled): a running job answers 409 JOB_NOT_FINISHED; cancel it first. Afterwards the job answers 404. Open to every account.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/meetings/jobs/{id}/speakers#

List speakers with short samples

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

MeetingSpeakers

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/speakers" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/meetings/jobs/{id}/speakers#

Give names to speakers

Replaces speaker ids with names everywhere in the minutes. While awaiting_review (older jobs only) If-Match is required. On completed meetings (every account since 2026-11-03), with { speakers: [{ speakerId, name }] } or { names: { speaker_0: { name } } }: renames (or corrects) a speaker everywhere in the minutes, transcript and files, and renders the PDF again; If-Match is optional there. Instead of speakerId, an entry can send quote (a line the person said): the speaker who said it is renamed. Send dryRun: true to see the matches first. While the meeting is still being made (once the transcript exists), the same body answers 202 { ok, pending: true, renames }: the names go into the PDF when it is made, or right after it when it was already rendering. Before the transcript exists: 409 TRANSCRIPT_NOT_READY.

Parameters

Name In Type Required Notes
id path string yes Job id.
If-Match header string yes The job's current reviewVersion, bare (3) or quoted ("3").
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingSpeakerNamesRequest

Response 200

MeetingSpeakerNamesResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/speakers" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H 'If-Match: "$REVIEW_VERSION"' \
  -H "Content-Type: application/json" \
  -d '{}'

PATCH /api/v1/meetings/jobs/{id}/minutes#

Replace the minutes with your edited version Deprecated.

Deprecated for API keys: use POST /api/v1/meetings/jobs/{id}/minutes/revise. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

Only while awaiting_review, which only older jobs reach; new jobs answer 409.

Parameters

Name In Type Required Notes
id path string yes Job id.
If-Match header string yes The job's current reviewVersion, bare (3) or quoted ("3").
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingMinutesRequest

Response 200

ReviewEditResponse

Responses

Example

curl
curl -sS -X PATCH "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/minutes" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H 'If-Match: "$REVIEW_VERSION"' \
  -H "Content-Type: application/json" \
  -d '{"minutes":{}}'

POST /api/v1/meetings/jobs/{id}/approve#

Approve the minutes and make the PDF Deprecated.

Deprecated for API keys: use nothing: meetings are approved automatically. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

Only for older jobs that stopped at awaiting_review; new jobs answer 409. Uses the Fara already held; nothing new is held.

Parameters

Name In Type Required Notes
id path string yes Job id.
If-Match header string yes The job's current reviewVersion, bare (3) or quoted ("3").
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

ApproveResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/approve" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H 'If-Match: "$REVIEW_VERSION"'

POST /api/v1/meetings/jobs/{id}/cancel#

Cancel a meeting job

Releases the held Fara.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

OkResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/cancel" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/meetings/jobs/{id}/retry#

Retry a failed meeting job

Holds the job's price again and restarts it.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

QueueResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/retry" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/meetings/jobs/{id}/json#

Get the minutes as JSON

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

MeetingMinutesJson

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/json" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/meetings/jobs/{id}/pdf#

Download the minutes PDF

The document chosen with output at upload: full minutes, summary, key points, or the transcript.

Parameters

Name In Type Required Notes
id path string yes Job id.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/pdf" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/meetings/jobs/{id}/mindmap#

Get the meeting's mind map

Only for jobs created with mindmap: true: a tree of { id, label, summary, children } drawn from the minutes (title, topics and their key points, decisions, action items, open questions). Free. 404 when the job has no mind map.

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

Field Type Required Notes
jobId string no
mindmap object no { title, root }.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/mindmap" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/meetings/jobs/{id}/mindmap#

Draw a mind map for a finished meeting

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). For meetings created without mindmap: true, or to draw it again. 1 Fara (tools.mindmap in the estimate), charged when it is drawn. Drawn from the minutes (and the chat and notes, as extra branches). Answers 202; GET …/mindmap returns it at once, …/mindmap/pdf when the PDF is ready, and a meeting.mindmap_ready webhook goes out then. From now on it follows the minutes on every change. 409 MINUTES_NOT_READY for a transcript-only meeting.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 202

MeetingMindmapCreated

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/mindmap" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/meetings/jobs/{id}/mindmap/pdf#

Download the mind map as a PDF

One page. Only for completed jobs created with mindmap: true. Free.

Parameters

Name In Type Required Notes
id path string yes Job id.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/mindmap/pdf" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/meetings/jobs/{id}/one-page/pdf#

Download a one-page A4 summary of the minutes

Free, for every account. The summary, decisions and action items on one A4 page, with the meeting's branding. A long meeting shows fewer items and says how many more are in the full minutes. Made on the first request (a few seconds) and kept in step with the minutes after that. 409 MEETING_NOT_FINISHED until the job is done; 409 MEETING_HAS_NO_MINUTES for a meeting made with output: transcript.

Parameters

Name In Type Required Notes
id path string yes Job id.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/one-page/pdf" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/meetings/templates#

List meeting templates

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Ids for the template field of POST /api/v1/meetings/jobs.

Response 200

MeetingTemplates

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/templates" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/meetings/estimate#

Price a meeting before uploading it

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Holds for the minutes and for each paid tool, for a recording of this length. Free.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingEstimateRequest

Response 200

MeetingEstimate

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/estimate" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"durationSeconds":1}'

GET /api/v1/meetings/jobs/{id}/chapters#

Get the meeting's chapters

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). The timed topics of the minutes, in time order. Free.

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

MeetingChapters

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/chapters" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/meetings/jobs/{id}/transcript#

Get the meeting transcript

Any account. Timed segments with speaker ids and names. format=txt downloads plain text (one paragraph per speaker turn, with speaker names); format=srt or vtt downloads subtitles (WebVTT works in a browser <track>). Free: no separate transcription job needed. After PUT /jobs/{id}/transcript this returns the corrected text (edited: true, no word timings).

Parameters

Name In Type Required Notes
id path string yes Job id.
format query string no Answer format. — one of: json, txt, srt, vtt; default: "json"
words query string no JSON only: include word timings. — one of: 1

Response 200

MeetingTranscript

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/transcript" \
  -H "Authorization: Bearer $FARA_API_KEY"

PUT /api/v1/meetings/jobs/{id}/transcript#

Save a corrected transcript

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Stores your corrected segments (the original stays). Free. POST /jobs/{id}/minutes/regenerate rebuilds the minutes from it.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingEditedTranscriptRequest

Response 200

MeetingEditedTranscriptResponse

Responses

Example

curl
curl -sS -X PUT "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/transcript" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"segments":[]}'

DELETE /api/v1/meetings/jobs/{id}/transcript#

Drop the corrected transcript

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Goes back to the original transcript. Free.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

MeetingEditedTranscriptResponse

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/transcript" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/meetings/jobs/{id}/minutes/regenerate#

Rebuild the minutes

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Writes the minutes again from the corrected transcript (or the original), keeps the speaker names you set, and renders the PDF again. Runs in the background: answers 202, then minutesRegeneration.state on the job goes running → done or failed. Charges the model's actual cost for the minutes only (no new transcription), never more than the hold. One rebuild at a time: 409 JOB_BUSY.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

MeetingRegenerateRequest

Response 202

MeetingRegenerateResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/minutes/regenerate" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

POST /api/v1/meetings/jobs/{id}/minutes/revise#

Revise the minutes by instruction

Every account. Changes the minutes as the instruction says (for example «تصمیم دوم را حذف کن و مسئول اقدام سوم را علی بگذار»), using the current minutes, the transcript with your corrections, and the meeting context. Everything the instruction does not touch stays as it was. Runs in the background: answers 202, then minutesRevision.state on the job goes running → done (with changes) or failed. When done, /json, /pdf, /docx and the mind map show the revised minutes and a meeting.minutes_revised webhook goes out. An instruction that cannot be applied ends failed with error.code INSTRUCTION_NOT_APPLICABLE and a message you can show; nothing is charged then. Otherwise charges the model's actual cost, never more than the hold. The replaced minutes are kept (GET …/minutes/versions). One change to the minutes at a time: 409 JOB_BUSY. A transcript-only meeting has no minutes yet: 409 MINUTES_NOT_READY.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingReviseRequest

Response 202

MeetingReviseResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/minutes/revise" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"instruction":"string"}'

GET /api/v1/meetings/jobs/{id}/minutes/versions#

List older versions of the minutes

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Minutes replaced by a rebuild, a revision or a restore, newest first (the last 20). Free.

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

MeetingMinutesVersions

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/minutes/versions" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/meetings/jobs/{id}/minutes/versions/{version}#

Get one older version of the minutes

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Free.

Parameters

Name In Type Required Notes
id path string yes Job id.
version path string yes A minutes version number from GET /api/v1/meetings/jobs/{id}/minutes/versions.

Response 200

MeetingMinutesVersion

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/minutes/versions/$VERSION" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/meetings/jobs/{id}/minutes/versions/{version}/restore#

Restore an older version of the minutes

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Makes that version the current minutes again (undo). Free. The minutes it replaces are kept too. The PDF, Word file and mind map are rebuilt in the background. 409 JOB_BUSY while another change to the minutes runs.

Parameters

Name In Type Required Notes
id path string yes Job id.
version path string yes A minutes version number from GET /api/v1/meetings/jobs/{id}/minutes/versions.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

MeetingMinutesRestored

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/minutes/versions/$VERSION/restore" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/meetings/jobs/{id}/context#

Get the meeting's chat, notes and events

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). What is stored. Free.

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

MeetingContextResponse

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/context" \
  -H "Authorization: Bearer $FARA_API_KEY"

PUT /api/v1/meetings/jobs/{id}/context#

Send the meeting's chat, notes and events

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). What was typed in the meeting, so the minutes, ask, rebuilds, revisions and the mind map use it as well as what was said. Replaces what was sent before. Free. Send it any time after creating the job; sent before the minutes are written (while the audio is transcribed), it is used by the first minutes too. startSeconds counts from the start of the recording. The transcript itself is never changed.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingContext

Response 200

MeetingContextResponse

Responses

Example

curl
curl -sS -X PUT "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/context" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

DELETE /api/v1/meetings/jobs/{id}/context#

Remove the meeting's chat, notes and events

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Free. Minutes already written keep what they said; the next rebuild or revision does without it.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

MeetingContextDeleted

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/context" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/meetings/jobs/{id}/docx#

Download the minutes as a Word file

Free, for every account. The same content and branding as /pdf, right-to-left with Persian fonts for Persian minutes. Made on the first request (a few seconds) and kept in step with the PDF after that (rebuild, revision, restore, speaker rename). 409 MEETING_NOT_FINISHED until the job is done.

Parameters

Name In Type Required Notes
id path string yes Job id.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/docx" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/meetings/jobs/{id}/documents#

List a meeting's documents

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). The job's own PDF (original) and every document made with POST …/documents. The Word file of the minutes is GET …/docx. Free.

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

MeetingDocumentList

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/documents" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/meetings/jobs/{id}/documents#

Make another document from a finished meeting

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). A full, summary, key_points or transcript document as PDF or Word, without transcribing again. 1 Fara per document (tools.document in the estimate), charged when it is ready and given back if it fails. A meeting created with output: transcript has no minutes: they are written first, charged at the model's actual cost (tools.write_minutes; heldFara covers both), and the meeting keeps them. Runs in the background: 202, then the document's state goes running → done or failed (GET …/documents), and a meeting.document_ready webhook goes out. Up to 50 documents per meeting (409 DOCUMENT_LIMIT_REACHED).

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingDocumentRequest

Response 202

MeetingDocumentResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/documents" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"output":"full"}'

GET /api/v1/meetings/jobs/{id}/documents/{docId}#

Download one document

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). The file, with the Content-Type of its format. 409 DOCUMENT_NOT_READY until its state is done.

Parameters

Name In Type Required Notes
id path string yes Job id.
docId path string yes Document id from POST or GET /api/v1/meetings/jobs/{id}/documents (original is the job's own PDF).

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/documents/$DOC_ID" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/meetings/jobs/{id}/operations#

List all background work on a meeting

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Every rebuild, revision, minutes writing, extra document and mind map of the meeting, each as { id, kind, state, heldFara, faraCost, error }. The same data as minutesRegeneration, minutesRevision, minutesWriting, documents and mindmap on the job, in one list with one shape: poll this one call instead of several fields. Free.

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

MeetingOperations

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/operations" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/meetings/jobs/{id}/speakers/list#

List speakers with names Deprecated.

Deprecated for API keys: use GET /api/v1/meetings/jobs/{id}/speakers. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Every speaker id with its name, how the name was found (attendeeHint, transcript, manual, diarizationOnly) and talk time. Free.

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

MeetingSpeakerList

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/speakers/list" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/meetings/jobs/{id}/highlights#

Get saved highlights

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Free. hasHighlights: false when none were made.

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

MeetingHighlights

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/highlights" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/meetings/jobs/{id}/highlights#

Make highlights

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Picks the moments worth watching again, each with a 5-60 second window and the words as spoken. Every quote is checked against the transcript; one that is not found is left out. Saved: GET returns it free. Needs a completed meeting (409 MEETING_NOT_FINISHED).

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

MeetingRecapEmailRequest

Response 200

MeetingHighlights

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/highlights" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

DELETE /api/v1/meetings/jobs/{id}/highlights#

Delete saved highlights

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED).

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

SavedToolDeleted

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/highlights" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/meetings/jobs/{id}/recap-email#

Get the saved recap email

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Free.

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

MeetingRecapEmail

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/recap-email" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/meetings/jobs/{id}/recap-email#

Write the recap email

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). A subject and body (Markdown and HTML) to send attendees, from the minutes. Saved: GET returns it free. Making it again replaces it.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

MeetingRecapEmailRequest

Response 200

MeetingRecapEmail

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/recap-email" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

DELETE /api/v1/meetings/jobs/{id}/recap-email#

Delete the saved recap email

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED).

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

SavedToolDeleted

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/recap-email" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/meetings/jobs/{id}/analytics#

Get saved analytics

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Free.

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

MeetingAnalytics

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/analytics" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/meetings/jobs/{id}/analytics#

Analyse the meeting

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Measured numbers from the speech timing (talk time, turns, pace, interruptions, silence, overlap, questions) and sentiment/engagement scores judged from the transcript text by a third-party decision model (method: transcript_text_and_timing; not from tone of voice). The transcript text is sent to that provider. includeSpeakerSentiment: false leaves out per-person scores. Priced at the provider's cost plus 100%, at least 1 Fara. Saved: GET returns it free.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json

MeetingAnalyticsRequest

Response 200

MeetingAnalytics

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/analytics" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

DELETE /api/v1/meetings/jobs/{id}/analytics#

Delete saved analytics

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED).

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

SavedToolDeleted

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/analytics" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/meetings/jobs/{id}/ask#

Ask a question about a meeting

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Answers from the transcript only, with citations (time, speaker, the words as spoken) you can jump to. answerable: false when the meeting does not contain the answer. Charged per question; not saved.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingAskRequest

Response 200

MeetingAnswer

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/jobs/$ID/ask" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"question":"string"}'

POST /api/v1/meetings/ask#

Ask a question across meetings

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Answers from the minutes of up to 20 finished meetings (jobIds, or the newest 20 between from and to); each citation names its meeting and time. Charged per question; not saved.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingsAskRequest

Response 200

MeetingsAnswer

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/ask" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"question":"string"}'

POST /api/v1/meetings/digest#

Digest several meetings

Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). One summary of up to 20 finished meetings: what happened, merged decisions, action items and open questions, each with its meeting and time. Not saved.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

MeetingsDigestRequest

Response 200

MeetingsDigest

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/meetings/digest" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

Audio#

Podcast or audiobook from a finished translation.

GET /api/v1/audio/voices#

List voices and moods for podcasts and audiobooks

Response 200

VoiceCatalog

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/audio/voices" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/audio/pricing#

Get podcast and audiobook pricing

Response 200

AudioPricing

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/audio/pricing" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/audio/jobs#

List audio jobs

Parameters

Name In Type Required Notes
limit query integer no Items to return (at most 50). — default: 20; min 1; max 50
offset query integer no Items to skip. — default: 0; min 0
q query string no Search by name. Matches the name given to the job or its original file name, ignoring case. Plain text, at most 100 characters; blank means no search. — max length 100
translationJobId query string no Only jobs made from this translation.
feature query string no Only this kind. — one of: podcast, audiobook

Response 200

AudioJobList

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/audio/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/audio/jobs#

Make a podcast or audiobook from a translation

Holds holdFara (the price of the longest length plus 20%), charges the actual cost when it finishes, and releases the rest. In rare cases the actual cost is higher than the hold. The job stops at awaiting_review with a script you can edit, then approve.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

AudioCreateRequest

Response 201

AudioJobEnvelope

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/audio/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"jobId":"string","feature":"podcast"}'

GET /api/v1/audio/jobs/{id}#

Get an audio job with its script

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

AudioJobEnvelope

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/audio/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY"

DELETE /api/v1/audio/jobs/{id}#

Delete a podcast or audiobook job permanently

Removes the script and the audio. A podcast or audiobook saved on the translation from this job is removed too from our servers. Ledger rows stay. Only finished jobs (completed, failed, cancelled): a running or queued job answers 409 JOB_NOT_FINISHED; cancel it first. Afterwards the job answers 404.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/audio/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

PATCH /api/v1/audio/jobs/{id}/segments/{segmentId}#

Edit one script segment

Only while awaiting_review. The whole script must stay within the held length.

Parameters

Name In Type Required Notes
id path string yes Job id.
segmentId path string yes Segment id from the job's review data.
If-Match header string yes The job's current reviewVersion, bare (3) or quoted ("3").
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

ScriptSegmentEditRequest

Response 200

ScriptSegmentEditResponse

Responses

Example

curl
curl -sS -X PATCH "https://faraatarjomeh.com/api/v1/audio/jobs/$ID/segments/$SEGMENT_ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H 'If-Match: "$REVIEW_VERSION"' \
  -H "Content-Type: application/json" \
  -d '{"text":"string"}'

POST /api/v1/audio/jobs/{id}/approve#

Approve the script and make the audio

Uses the Fara already held; nothing new is held.

Parameters

Name In Type Required Notes
id path string yes Job id.
If-Match header string yes The job's current reviewVersion, bare (3) or quoted ("3").
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

ApproveResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/audio/jobs/$ID/approve" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H 'If-Match: "$REVIEW_VERSION"'

POST /api/v1/audio/jobs/{id}/cancel#

Cancel an audio job

Releases the held Fara.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

OkResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/audio/jobs/$ID/cancel" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/audio/jobs/{id}/download#

Download the MP3

Supports Range requests.

Parameters

Name In Type Required Notes
id path string yes Job id.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/audio/jobs/$ID/download" \
  -H "Authorization: Bearer $FARA_API_KEY"

Farsi TTS#

Persian text to speech.

GET /api/v1/farsi-tts/voices#

List voices and moods for text to speech

Response 200

VoiceCatalog

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/farsi-tts/voices" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/farsi-tts/pricing#

Get text-to-speech pricing

Response 200

FarsiTtsPricing

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/farsi-tts/pricing" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/farsi-tts/jobs#

List text-to-speech jobs

Parameters

Name In Type Required Notes
limit query integer no Items to return (at most 50). — default: 20; min 1; max 50
offset query integer no Items to skip. — default: 0; min 0
q query string no Search by name. Matches the name given to the job or its original file name, ignoring case. Plain text, at most 100 characters; blank means no search. — max length 100

Response 200

FarsiTtsJobList

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/farsi-tts/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/farsi-tts/jobs#

Turn text into Persian speech

English text is translated to Persian first. Fara is held from the text length (with room for edits), charged at the actual cost when done, and released on failure or cancel. The job stops at awaiting_review so you can edit the Persian text, then approve.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

FarsiTtsCreateRequest

Response 201

FarsiTtsJobEnvelope

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/farsi-tts/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"text":"string","sourceLang":"en"}'

GET /api/v1/farsi-tts/jobs/{id}#

Get a text-to-speech job with its text

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

FarsiTtsJobEnvelope

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/farsi-tts/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY"

DELETE /api/v1/farsi-tts/jobs/{id}#

Delete a text-to-speech job permanently

Removes the text and the audio from our servers. Ledger rows stay. Only finished jobs (completed, failed, cancelled): a running or queued job answers 409 JOB_NOT_FINISHED; cancel it first. Afterwards the job answers 404.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/farsi-tts/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

PATCH /api/v1/farsi-tts/jobs/{id}/text#

Edit the Persian text

Only while awaiting_review, and only up to reservedChars. No If-Match is needed here.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

FarsiTtsTextRequest

Response 200

FarsiTtsTextResponse

Responses

Example

curl
curl -sS -X PATCH "https://faraatarjomeh.com/api/v1/farsi-tts/jobs/$ID/text" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"text":"string"}'

POST /api/v1/farsi-tts/jobs/{id}/approve#

Approve the text and make the audio

Uses the Fara already held; nothing new is held. If the work cannot be queued, answers 503 SERVICE_BUSY with Retry-After: the job is marked failed and the hold is released.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

ApproveResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/farsi-tts/jobs/$ID/approve" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/farsi-tts/jobs/{id}/cancel#

Cancel a text-to-speech job

Releases the held Fara.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

OkResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/farsi-tts/jobs/$ID/cancel" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/farsi-tts/jobs/{id}/download#

Download the MP3

Supports Range requests.

Parameters

Name In Type Required Notes
id path string yes Job id.

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/farsi-tts/jobs/$ID/download" \
  -H "Authorization: Bearer $FARA_API_KEY"

Transcription#

Recording to text, with optional translation.

GET /api/v1/transcription/pricing#

Get transcription pricing

Response 200

TranscriptionPricing

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/transcription/pricing" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/transcription/jobs#

List transcription jobs

Parameters

Name In Type Required Notes
limit query integer no Items to return (at most 50). — default: 20; min 1; max 50
offset query integer no Items to skip. — default: 0; min 0
externalId query string no Early access: only jobs created with this externalId.
idempotencyKey query string no Early access: the job a create request with this Idempotency-Key made (kept 24 hours). Empty list when that request created nothing; 409 IDEMPOTENCY_KEY_IN_USE while it is still running.
q query string no Search by name. Matches the name given to the job or its original file name, ignoring case. Plain text, at most 100 characters; blank means no search. — max length 100

Response 200

TranscriptionJobList

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/transcription/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/transcription/jobs#

Turn a recording into text

Optionally translates the text too. Fara is held from the audio length when the job is created, charged at the actual cost when done, and released on failure or cancel. A file over 200 MB answers 400 BAD_REQUEST (its message may say 100MB). For a larger file, or a connection that may break, send it as a chunked upload (POST /api/v1/uploads with purpose: transcription) and create the job with a JSON body holding uploadId: the upload errors (UPLOAD_NOT_FOUND, UPLOAD_EXPIRED, UPLOAD_INCOMPLETE, UPLOAD_ALREADY_USED, UPLOAD_CHECKSUM_MISMATCH) come from this call. A refused create leaves the upload open, so it can be used again. Early access (accounts with meetings_api_v2; others get 403 FEATURE_NOT_ENABLED). Early-access accounts may send externalId, metadata, or a JSON body with audioUrl instead of a file.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body multipart/form-data (required)

TranscriptionCreateRequest

Request body application/json (required)

TranscriptionCreateJsonRequest

Response 201

MediaCreateResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/transcription/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/v1/transcription/jobs/{id}#

Get a transcription job

Note: this answer is the job itself, not wrapped in { job }.

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

TranscriptionJob

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/transcription/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY"

DELETE /api/v1/transcription/jobs/{id}#

Delete a transcription job permanently

Removes the audio, transcript and files from our servers. Ledger rows stay. Only finished jobs: a running job answers 409 JOB_NOT_FINISHED. Open to every account. Afterwards the job answers 404.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/transcription/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/transcription/jobs/{id}/cancel#

Cancel a transcription job

Releases the held Fara.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

OkResponse

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/transcription/jobs/$ID/cancel" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/transcription/jobs/{id}/download#

Download the transcript or its translation

Parameters

Name In Type Required Notes
id path string yes Job id.
file query string no The transcript or the translation. — one of: source, translation; default: "source"
format query string no Plain text, SubRip subtitles, or a PDF or Word document (one block per speaker turn, with times). — one of: txt, srt, pdf, docx; default: "txt"

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/transcription/jobs/$ID/download" \
  -H "Authorization: Bearer $FARA_API_KEY"

Content#

Website and app copy (JSON, Markdown, HTML, strings) into Persian, in the same structure.

POST /api/v1/content/translate#

Translate website or app copy into Persian

Send English copy as JSON (an i18n file), Markdown, HTML or strings; get the same structure back with natural Persian: same keys, same placeholders ({name}, {{count}}, %s, ICU plural), same tags, links and code. Every string is checked before it is returned (placeholders kept, no English left, length limits); a string that fails is listed in failed and keeps its English text.

Price: the model's token cost at our rate, never more than quote.maxFara, which is held when the work starts. Strings in your translation memory are free. Price first with dryRun: true (or POST /api/v1/estimate with content_translation).

Up to about 1,000 words of new text is answered in the same call (200, with content). More, or async: true, answers 202 with the job: poll GET /api/v1/content/jobs/{id} or listen for content.completed webhooks. A request whose strings all come from memory answers 200 at once with id: null and nothing charged.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

ContentTranslateRequest

Response 200

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/content/translate" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"format":"json","content":"string"}'

POST /api/v1/content/edit#

Edit Persian text into natural, native Persian

Not a translation: send Persian text (AI copy, a literal translation, stiff prose, or ordinary copy) as JSON, Markdown, HTML or strings, and get every sentence back written again, in full, the way an Iranian writer would write it today (headings are written again as headings; buttons, labels and fixed section names keep their usual wording), with the same meaning and the same structure: same keys, placeholders, tags, links and code. Strings without Persian letters, text in Arabic, Urdu, Kurdish or Pashto, and single slugs, paths and file names are left as they are; digits stay as written by default.

Every edit is checked before it is returned: placeholders kept, every number of the original still there with the same value, the English words of the original and keep words kept, no English added, no summary (the length stays near the original), length limits. An edit that does not pass is not used: the string keeps its original text and is listed in failed. changes says, per string, whether it changed and why, in one short Persian note.

Price: the model's token cost at our rate, never more than quote.maxFara, which is held when the work starts. Price first with dryRun: true. Small work answers in the same call (200); more, or async: true, answers 202 with the job to poll at GET /api/v1/content/jobs/{id}.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

ContentEditRequest

Response 200

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/content/edit" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"format":"json","content":"string"}'

GET /api/v1/content/jobs#

List content translation jobs

Newest first, without content. Jobs and results are kept for 7 days.

Parameters

Name In Type Required Notes
limit query integer no Items to return (at most 50). — default: 20; min 1; max 50
offset query integer no Items to skip. — default: 0; min 0

Response 200

ContentTranslationJobList

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/content/jobs" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/content/jobs/{id}#

Get a content job (translation or editing), with the result when finished

Parameters

Name In Type Required Notes
id path string yes Job id.

Response 200

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/content/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY"

DELETE /api/v1/content/jobs/{id}#

Delete a finished content translation job

Removes the job and its result. Ledger rows and translation memory stay. A running job answers 409 JOB_NOT_FINISHED.

Parameters

Name In Type Required Notes
id path string yes Job id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/content/jobs/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

DELETE /api/v1/content/memory#

Clear your translation memory

Removes the stored translations of the account, or of one project. Later requests translate (and charge for) every string again. Memory not used for a year is removed on its own.

Parameters

Name In Type Required Notes
project query string no Only this project's memory. Leave out to clear all. — max length 100
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

ContentMemoryCleared

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/content/memory" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Uploads#

Send a large recording or video in chunks, then make a meeting, transcription or video job from it.

POST /api/v1/uploads#

Start a chunked upload

Starts an upload for a meeting or transcription recording, or for a video to translate, up to 1 GB. Free: nothing is held or charged until the job is created. Counts as one upload toward the per-account upload limit; the chunks and the job create made from it do not. The answer gives chunkSize and totalChunks. An upload not used within 24 hours is deleted. At most 10 uploads can be open at once (UPLOAD_LIMIT_REACHED). When we are short of room for a very large file the answer is 503 SERVICE_UNAVAILABLE with Retry-After.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

UploadStartRequest

Response 201

UploadSession

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/uploads" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"purpose":"meeting","size":1}'

GET /api/v1/uploads/{uploadId}#

Read an upload

received lists the chunks that arrived. After a lost connection, send only the missing ones. A used upload shows status: used and its jobId.

Parameters

Name In Type Required Notes
uploadId path string yes Upload id (upl_...) returned when the upload started.

Response 200

UploadSession

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/uploads/$UPLOAD_ID" \
  -H "Authorization: Bearer $FARA_API_KEY"

DELETE /api/v1/uploads/{uploadId}#

Cancel an upload

Deletes the chunks. Cancelling again answers 204 too. An upload that already made a job answers 409 UPLOAD_ALREADY_USED.

Parameters

Name In Type Required Notes
uploadId path string yes Upload id (upl_...) returned when the upload started.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/uploads/$UPLOAD_ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

PUT /api/v1/uploads/{uploadId}/chunks/{index}#

Send one chunk

The body is the chunk's raw bytes (Content-Type: application/octet-stream). Index 0 is the start of the file. Every chunk is exactly chunkSize bytes except the last, which is the rest (BAD_CHUNK otherwise). Chunks can come in any order and in parallel. Sending the same index again replaces it, so a retry after a timeout is always safe and needs no Idempotency-Key. With a Content-Digest header (RFC 9530, sha-256=:<base64>:) a chunk that does not match is refused with CHUNK_DIGEST_MISMATCH. Counts toward the per-key request limit, not toward the upload limit.

Parameters

Name In Type Required Notes
uploadId path string yes Upload id (upl_...) returned when the upload started.
index path integer yes Chunk index, from 0 to totalChunks - 1. — min 0
Content-Digest header string no Optional RFC 9530 digest of this chunk, for example sha-256=:X48E9qOokqqrvdts8nOJRJN3OWDUoyWxBf7kbu9DBPE=:.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/octet-stream (required)

Response 200

UploadSession

Responses

Example

curl
curl -sS -X PUT "https://faraatarjomeh.com/api/v1/uploads/$UPLOAD_ID/chunks/$INDEX" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Webhooks#

Get told when a job changes status.

GET /api/v1/webhook-endpoints/event-types#

List webhook event types

Response 200

WebhookEventTypes

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/webhook-endpoints/event-types" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/webhook-endpoints#

List webhook endpoints

All endpoints of the account (there are only a few, so no pagination).

Response 200

WebhookEndpointList

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/webhook-endpoints" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/webhook-endpoints#

Add a webhook endpoint

The answer contains the signing secret. It is shown only once.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

WebhookEndpointCreateRequest

Response 201

WebhookEndpointWithSecret

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/webhook-endpoints" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"url":"string"}'

GET /api/v1/webhook-endpoints/{id}#

Get a webhook endpoint

Parameters

Name In Type Required Notes
id path string yes Webhook endpoint id.

Response 200

WebhookEndpoint

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/webhook-endpoints/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY"

PATCH /api/v1/webhook-endpoints/{id}#

Change a webhook endpoint

Parameters

Name In Type Required Notes
id path string yes Webhook endpoint id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

WebhookEndpointUpdateRequest

Response 200

WebhookEndpoint

Responses

Example

curl
curl -sS -X PATCH "https://faraatarjomeh.com/api/v1/webhook-endpoints/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

DELETE /api/v1/webhook-endpoints/{id}#

Delete a webhook endpoint

Parameters

Name In Type Required Notes
id path string yes Webhook endpoint id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Responses

Example

curl
curl -sS -X DELETE "https://faraatarjomeh.com/api/v1/webhook-endpoints/$ID" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/webhook-endpoints/{id}/rotate-secret#

Replace the signing secret

The old secret stops working at once. The new one is shown only in this answer.

Parameters

Name In Type Required Notes
id path string yes Webhook endpoint id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

WebhookEndpointWithSecret

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/webhook-endpoints/$ID/rotate-secret" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

POST /api/v1/webhook-endpoints/{id}/test#

Send a test event

Sends one webhook.test event now and reports what your endpoint answered. Not retried.

Parameters

Name In Type Required Notes
id path string yes Webhook endpoint id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 200

WebhookTestResult

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/webhook-endpoints/$ID/test" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

GET /api/v1/webhook-endpoints/{id}/deliveries#

List deliveries to an endpoint

Parameters

Name In Type Required Notes
id path string yes Webhook endpoint id.
limit query integer no Items per page (1-100). — default: 20; min 1; max 100
startingAfter query string no Cursor: the nextCursor (or last id) of the previous page.

Response 200

WebhookDeliveryPage

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/webhook-endpoints/$ID/deliveries" \
  -H "Authorization: Bearer $FARA_API_KEY"

POST /api/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/retry#

Send a failed delivery again

Parameters

Name In Type Required Notes
id path string yes Webhook endpoint id.
deliveryId path string yes Webhook delivery id.
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Response 202

WebhookDelivery

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/webhook-endpoints/$ID/deliveries/$DELIVERY_ID/retry" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Payments#

Fara packages and past payments. Buying happens on the website.

GET /api/v1/payment/packages#

List Fara packages

Buying happens on the website; it is not available over the API.

Response 200

PaymentPackages

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/payment/packages" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/payment/packages/public#

List Fara packages (public copy)

Response 200

PaymentPackages

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/payment/packages/public" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/payment/status/{authority}#

Get the status of a payment

Parameters

Name In Type Required Notes
authority path string yes Payment authority code from the payment gateway.

Response 200

PaymentStatus

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/payment/status/$AUTHORITY" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/payment/history#

List payments

Parameters

Name In Type Required Notes
page query integer no Page number, starting at 1. — default: 1; min 1
limit query integer no Items per page (1-100). — default: 20; min 1; max 100

Response 200

PaymentHistory

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/payment/history" \
  -H "Authorization: Bearer $FARA_API_KEY"

AI assistants#

Model Context Protocol endpoint: AI assistants use the API through it.

POST /api/v1/mcp#

Model Context Protocol endpoint for AI assistants

One JSON-RPC 2.0 request per POST (stateless, JSON answers only). Methods: initialize, ping, tools/list, tools/call. A notification (no id) gets 202 with no body. The tools are thin wrappers over this API and use the same key, so the same scopes, limits and prices apply. Tool failures come back inside the result with isError: true. Jobs that cost Fara need the user's yes first. Guide: /api/v1/docs/guides/mcp. Answers 404 while the endpoint is switched off.

Parameters

Name In Type Required Notes
Idempotency-Key header string no see /api/v1/docs/conventions#idempotency

Request body application/json (required)

Response 200

Responses

Example

curl
curl -sS -X POST "https://faraatarjomeh.com/api/v1/mcp" \
  -H "Authorization: Bearer $FARA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

Profile#

Profile, usage, and dashboard numbers.

GET /api/v1/profile#

Get your profile Deprecated.

Deprecated for API keys: use GET /api/v1/account. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

Response 200

Profile

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/profile" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/profile/usage#

Get translation usage totals Deprecated.

Deprecated for API keys: use GET /api/v1/account/transactions. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

Response 200

UsageStats

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/profile/usage" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/profile/credits#

Get the balance and ledger (page-based) Deprecated.

Deprecated for API keys: use GET /api/v1/account/transactions. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

Older, page-based view of the ledger. New code should use GET /api/v1/account/transactions.

Parameters

Name In Type Required Notes
page query integer no Page number, starting at 1. — default: 1; min 1
limit query integer no Items per page (1-100). — default: 20; min 1; max 100

Response 200

CreditsHistory

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/profile/credits" \
  -H "Authorization: Bearer $FARA_API_KEY"

GET /api/v1/dashboard/stats#

Get dashboard numbers Deprecated.

Deprecated for API keys: use GET /api/v1/account. Answers carry Deprecation and Sunset headers; from 2026-09-29 API keys get 410 GONE.

Response 200

DashboardStats

Responses

Example

curl
curl -sS -X GET "https://faraatarjomeh.com/api/v1/dashboard/stats" \
  -H "Authorization: Bearer $FARA_API_KEY"

Schemas#

Named request and response objects used above. Nested objects are flattened as parent.child; arrays as parent[].child.

Account#

Field Type Required Notes
id string yes Account id.
email string | null no may be null
emailVerified boolean no
credits object yes
credits.currency string no Always FARA.
credits.faraPerUsd number no How many Fara make one US dollar.
credits.balance number yes Fara you can spend now. Fara held for running jobs is already taken out.
credits.reserved number yes Fara held for running jobs.
credits.chargebackLiability number no Reversed payments not yet settled. While above zero, new holds are refused.
credits.lifetimeUsage number no Fara spent over the life of the account.
credits.lastTransactionAt string | null no may be null
auth object no
auth.type string no api_key or session.
auth.keyId string no Id of the API key used for this request.
auth.scopes string[] no
earlyAccess string[] no Early-access features turned on for this account, e.g. meetings_api_v2.

AccountSettings#

Field Type Required Notes
meetingRetentionDays integer | null no Finished meeting and audio-to-text jobs are deleted this many days after they last changed. null: kept until you delete them. — may be null
lowBalanceThreshold number | null no When the balance falls below this many Fara, an account.balance_low webhook event is sent (once, until the balance is back above it). null: off. — may be null

AccountSettingsPatch#

Field Type Required Notes
meetingRetentionDays integer | null no 1-3650, or null to turn off. — min 1; max 3650; may be null
lowBalanceThreshold number | null no Fara, or null to turn off. — may be null

Analysis#

Result of document analysis. Nothing is charged for analysis.

Field Type Required Notes
jobId string yes Id of the analyzed job. Use it to start the translation.
filename string no
fileSize integer | null no Bytes. — may be null
pageCount integer | null no may be null
wordCount integer | null no may be null
charCount integer | null no may be null
totalChunks integer no Number of translation sections.
paragraphCount integer | null no may be null
quality string | null no may be null
workflow string no Default translation workflow.
availableWorkflows string[] no Workflows you may pass to start.
imageCount integer no
scannedSource boolean no True when the PDF has no text layer. The text is read from the page images when translation starts; wordCount and the price are estimated from the page count, and qualityPreviews is null.
sourceLanguageNotice string no Present only as persian when the PDF text is already mostly Persian. Such a document can be translated into another language: send targetLanguage at start. qualityPreviews is null (no sample translation is made). — one of: persian
estimatedMinutes integer | null no Minutes for fast delivery, from recent real chunk times (see timeEstimate). — may be null
estimatedPrice number | null no Estimated price in Fara. Every translation runs fast; qualityEstimates[].estimatedCostEconomy is the same number. — may be null
timeEstimate object no How estimatedMinutes was computed: totalMinutes, chunksPerBatch (chunks that run at once), estimatedBatches (waves), minutesPerChunk, sampleCount, isDefault, source (measured_median or fallback). Display only.
qualityPreviews object | null no Short sample translations of one passage, one entry per quality level. The entries have the same text now. Null when previews are off or all failed. — may be null
qualityPreviews.sourceExcerpt object no The English passage used: text, sourceChunkNumber, totalChunks, charCount, wordCount.
qualityPreviews.variants object[] no
qualityPreviews.variants[].quality string no one of: simple, medium, highest
qualityPreviews.variants[].status string no ok or error.
qualityPreviews.variants[].text string no Sample Persian translation. Empty on error.
qualityPreviews.variants[].error string no
qualityPreviews.variants[].processingTimeMs integer | null no may be null
qualityPreviews.variants[].isEmpty boolean no
qualityPreviews.generatedAt string | null no may be null
qualityEstimates object[] no Price and time per quality level; all three cost the same. Use this as the quote; the balance check at start is computed the same way.
qualityEstimates[].quality string yes one of: simple, medium, highest
qualityEstimates[].estimatedCost number yes Fara for fast (realtime) delivery.
qualityEstimates[].estimatedCostEconomy number yes Kept for old clients. Equal to estimatedCost, because every translation runs fast.
qualityEstimates[].estimatedMinutes integer yes Minutes for fast delivery.
status string yes analyzed.
freePreviewOffer object | null no The free first pages: each verified account may translate the first pages of one PDF free, once. Start with freePreview: true. Null when switched off. — may be null
freePreviewOffer.available boolean no True when this account can translate the first pages of this document free now.
freePreviewOffer.pages integer no How many leading pages are free.
freePreviewOffer.freePages integer no Free pages of this document (fewer when the document is shorter).
freePreviewOffer.wholeDocument boolean no The whole document fits in the free pages.
freePreviewOffer.reason string | null no Why it is not available: disabled, not_verified, used, rest_of_preview, or null. — may be null
imageTranslation object no Translating the text inside images (charts, diagrams, infographics). The number of images with text is known only after the document is read, so the price is per image and is added to the charge. Switch it off with translateImages: false at start.
imageTranslation.available boolean no True when image translation can be chosen for this document.
imageTranslation.default boolean no True: it is on unless the start request sends translateImages: false.
imageTranslation.pricePerImage number no Expected price in Fara of one image that has text to translate. Images without text cost nothing.
previewOf string no On the rest of a previewed book: the free preview job it follows. Its prices already take off the free pages' share.
pageRangeOffer object | null no On a whole-file analysis while the page-range feature is on: the chapters offered for POST /api/v1/translate/{jobId}/page-range. Absent on a part and while the feature is off. — may be null
pageRangeOffer.pageCount integer no Pages in the file.
pageRangeOffer.chapters array | null no Chapters from the PDF outline, in order. Null when the PDF has no usable outline. — may be null
pageRange object | null no On a part of a file: the pages it covers. Absent on a whole file. — may be null
pageRange.from integer no First page of the part (1-based).
pageRange.to integer no Last page of the part (1-based, inclusive).
pageRange.totalPages integer | null no Pages in the whole file. — may be null
pageRange.sourceJobId string | null no The job the part was cut from, or null for an upload. — may be null

AnalysisSession#

Field Type Required Notes
analysisId string yes Id of this analysis. It becomes the job id when analysis finishes.
filename string no
fileSize integer no
sseUrl string yes Path of the progress stream.

AnalyzeRequest#

Field Type Required Notes
file file yes The PDF (up to 100 MB). When Word and EPUB input is on, a .docx or EPUB file is accepted too.
quality string no Deprecated. Still accepted; it no longer changes the result. — one of: simple, medium, highest

ApproveResponse#

Field Type Required Notes
ok boolean yes
status string yes active.
reviewVersion integer no
untranslatedSpeechSegmentIds string[] no Video only: spoken segments with no Persian text. They will be silent.

AudioCreateRequest#

Field Type Required Notes
jobId string yes Id of a completed translation job.
feature string yes one of: podcast, audiobook
voiceId string no Audiobook narrator: a voice id from GET /api/v1/audio/voices, or male / female. Default male.
voiceGender string no Audiobook only, used when voiceId is left out. Default male. — one of: male, female
speaker1VoiceId string no Podcast only: voice id of the first speaker. Default: the male default voice.
speaker2VoiceId string no Podcast only: voice id of the second speaker. Default: the female default voice.
voiceMood string no Mood of the voices. Default neutral. — one of: neutral, friendly, formal, happy, sad, calm, energetic, serious

AudioFeature#

Field Type Required Notes
jobId string no
hasPodcast boolean no
hasAudiobook boolean no
title string no
text string no
audioFileId string | null no may be null
audioDownloadPath string no Where to download the audio.
audioContentType string no
audioExtension string no
metadata object no
processedAt string | null no may be null
savedAt string | null no may be null

AudioJobEnvelope#

Field Type Required Notes
job object yes
job._id string yes Audio job id.
job.displayName string | null no The name the customer gave the job (null: the original name is shown). — may be null
job.feature string no one of: podcast, audiobook
job.translationJobId string no
job.status string yes pending, active, awaiting_review (waiting for your edits and approval), and the end states completed, failed, cancelled. Treat any other value as still running.
job.stage string no
job.progress number no
job.voiceGender string | null no may be null
job.voiceKey string | null no Audiobook narrator voice id. — may be null
job.speakerVoiceKeys object | null no Podcast speaker voice ids. — may be null
job.speakerVoiceKeys.speaker1 string no
job.speakerVoiceKeys.speaker2 string no
job.voiceMood string | null no may be null
job.reviewVersion integer no Send as If-Match when editing or approving the script.
job.script object[] no Only on GET /api/v1/audio/jobs/{id}.
job.script[].id string no
job.script[].text string no
job.estimatedMinutes number no
job.estimatedCost object | null no Price for the script as it is now; faraCharged is in Fara. — may be null
job.cost object | null no Price of a media job, in Fara. — may be null
job.cost.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
job.cost.minutesBilled number no Billed minutes, for media jobs.
job.cost.heldFara number no Fara held when the job started.
job.cost.refundedFara number no Part of the hold returned after the actual charge.
job.customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
job.createdAt string | null no may be null
job.updatedAt string | null no may be null

AudioJobList#

Field Type Required Notes
jobs object[] yes
jobs[]._id string yes Audio job id.
jobs[].displayName string | null no The name the customer gave the job (null: the original name is shown). — may be null
jobs[].feature string no one of: podcast, audiobook
jobs[].translationJobId string no
jobs[].status string yes pending, active, awaiting_review (waiting for your edits and approval), and the end states completed, failed, cancelled. Treat any other value as still running.
jobs[].stage string no
jobs[].progress number no
jobs[].voiceGender string | null no may be null
jobs[].voiceKey string | null no Audiobook narrator voice id. — may be null
jobs[].speakerVoiceKeys object | null no Podcast speaker voice ids. — may be null
jobs[].speakerVoiceKeys.speaker1 string no
jobs[].speakerVoiceKeys.speaker2 string no
jobs[].voiceMood string | null no may be null
jobs[].reviewVersion integer no Send as If-Match when editing or approving the script.
jobs[].script object[] no Only on GET /api/v1/audio/jobs/{id}.
jobs[].script[].id string no
jobs[].script[].text string no
jobs[].estimatedMinutes number no
jobs[].estimatedCost object | null no Price for the script as it is now; faraCharged is in Fara. — may be null
jobs[].cost object | null no Price of a media job, in Fara. — may be null
jobs[].cost.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
jobs[].cost.minutesBilled number no Billed minutes, for media jobs.
jobs[].cost.heldFara number no Fara held when the job started.
jobs[].cost.refundedFara number no Part of the hold returned after the actual charge.
jobs[].customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
jobs[].createdAt string | null no may be null
jobs[].updatedAt string | null no may be null

AudioPricing#

Field Type Required Notes
faraPerMin number no Fara per minute of finished audio, as billed.
podcast object no
podcast.targetMinutes number no
podcast.maxMinutes number no
podcast.holdFara number no Fara held when a podcast job is created.
audiobook object no
audiobook.targetMinutes number no
audiobook.minMinutes number no
audiobook.maxMinutes number no
audiobook.holdFara number no Fara held when an audiobook job is created.

BilingualContent#

Field Type Required Notes
jobId string yes
filename string no
createdAt string | null no may be null
updatedAt string | null no may be null
revision integer no Changes each time the translation is edited or re-translated.
status string no
paragraphs object[] yes
paragraphs[].sequenceNumber integer no
paragraphs[].english string no
paragraphs[].farsi string no
paragraphs[].farsiEdited string | null no may be null
paragraphs[].isHeading boolean no
paragraphs[].headingLevel integer | null no may be null
metadata object no Document details and the price paid.
detectedSections object[] no
documentTitle string | null no may be null

ContentEditRequest#

Field Type Required Notes
format string yes How content is written: json, markdown, html or strings, as for translation. — one of: json, markdown, html, strings
content object | any[] | string yes The Persian text, in the shape format names. The answer has the same shape with the edited text. Strings without Persian letters (English, code, numbers) are left as they are.
brief string no What the text is and who reads it, in one or two sentences (up to 2000 characters). — max length 2000
tone string no The register. source (default): keep each text's own register. neutral: polite everyday written Persian. formal: official. friendly: warm, written. conversational: everyday spoken Persian as Iranians write it in chats. — one of: source, neutral, formal, friendly, conversational
digits string no source (default): digits stay as written. persian or latin: write numbers in those digits. The values never change. — one of: source, persian, latin
keep string[] no Words and names to leave exactly as written. Up to 500.
glossary object | object[] no Terms to write one way everywhere: { "as the text has it": "write this" } (or a list of { term, use }). Where a string has the first form, the edit has the second, and the first form is never written. Whole words; up to 500 entries. To pin a word as it is, use keep.
orthography string no source (default): the writer's spelling style stays where Persian accepts more than one form (half-spaces in compounds, لطفا / لطفاً, متاسفانه / متأسفانه, the ezafe mark on ه); only plain mistakes are corrected. standard: standard Persian orthography (half-spaces in compounds and affixes, tanvin, hamza); the ezafe mark on ه still follows the text. — one of: source, standard
minWords integer no Strings with fewer words than this are left as they are (labels, buttons, short headings). Default 1: every Persian string is read. — min 1; max 20
depth string no Deprecated and ignored: every sentence is written again in full. Accepted so older requests do not fail. — one of: full, light
maxGrowthPercent integer no An edit may not be longer than the original by more than this percentage; for text with line breaks (<br>, a new line) the limit holds for each line. An edit over the limit is tried once more, then the string keeps its original text and is listed in failed. — min 0; max 100
onlyChanged boolean no true: changes lists only the strings that changed. Default false: one entry per Persian string.
notes object no Per string: where it is used, and an optional length limit, as for translation.
skipKeys string[] no json: key paths to leave as they are. Parts are joined by dots; * matches inside one part and ** any number of parts: meta.*, **.url, items.*.title (or items[*].title). A pattern that matches no string is reported in warnings.
frontMatterKeys string[] no markdown: front-matter keys whose values are edited. Default title, description, summary, excerpt, subtitle.
setDirection boolean no html: on a full page, set lang="fa" dir="rtl" on <html>. Default false for editing (the page keeps its own).
project string no Your name for the site or app (letters, digits, _ . -). Edits are remembered per project, apart from translations. — max length 100
memory string no use (default): strings edited before come back the same and are free. refresh: edit again. off: do not read or save memory. — one of: use, refresh, off
async boolean no Always run in the background and answer 202, even for small work.
dryRun boolean no Only price the request: nothing is edited, held or charged.
externalId string no Your own reference for this job (up to 200 characters).
metadata object no Up to 20 keys of your own (strings, numbers, booleans; 4 KB as JSON).

ContentMemoryCleared#

Field Type Required Notes
deleted integer yes Memory entries removed.

ContentTranslateRequest#

Field Type Required Notes
format string yes How content is written: json (any object or array, e.g. an i18n file), markdown, html (a page or a fragment), or strings (a string or an array of strings). — one of: json, markdown, html, strings
content object | any[] | string yes The English text, in the shape format names. The answer has the same shape: the same keys in the same order, the same Markdown and HTML structure, with Persian text.
brief string no What the product is and who reads it, in one or two sentences (up to 2000 characters). The more we know, the better the Persian fits. — max length 2000
tone string no neutral (default): polite everyday Persian. formal: official. friendly: warm and conversational. The reader is always addressed as «شما». — one of: neutral, formal, friendly
digits string no Numbers in Persian digits (persian, default) or Latin digits (latin). Digits inside placeholders, links and code never change. — one of: persian, latin
glossary object | object[] no Terms that must be translated one way, as { "dashboard": "پیشخوان" } or [{ "term": "dashboard", "translation": "پیشخوان" }]. A translation equal to the term keeps it in English. Up to 500 terms.
keep string[] no Words and names to leave in English everywhere (brand and product names). Up to 500.
notes object no Per string: where it is used, and an optional length limit. Keys are the JSON key paths (hero.title, plans[0].name) or, for strings, the index ("0"). A value is a note ("button") or { "note": "button", "maxLength": 20 }. The Persian is never longer than maxLength characters.
skipKeys string[] no json: key paths to leave as they are. Parts are joined by dots; * matches inside one part and ** any number of parts: meta.*, **.url, items.*.title (or items[*].title). A pattern that matches no string is reported in warnings. Values that look like data (ids, paths, colours, dates, file names) are left out already.
frontMatterKeys string[] no markdown: front-matter keys whose values are translated. Default title, description, summary, excerpt, subtitle.
setDirection boolean no html: on a full page, set lang="fa" dir="rtl" on <html>. Default true.
project string no Your name for the site or app (letters, digits, _ . -). Translation memory is kept per project, so two products do not share translations. Default: one shared memory for the account. — max length 100
memory string no use (default): strings translated before for this account and project come back the same and are free; new ones are saved. refresh: translate everything again and save the new Persian. off: do not read or save memory. — one of: use, refresh, off
async boolean no Always run in the background and answer 202, even for small work.
dryRun boolean no Only price the request: nothing is translated, held or charged.
externalId string no Your own reference for this job (up to 200 characters). Echoed in the job and its webhook events.
metadata object no Up to 20 keys of your own (strings, numbers, booleans; 4 KB as JSON). Echoed in the job and its webhook events.

ContentTranslationJobList#

Field Type Required Notes
jobs object | object[] yes

CreditsHistory#

Field Type Required Notes
balance number yes
chargebackLiability number no
lifetimeTopup number no
lifetimeUsage number no
lastTransactionAt string | null no may be null
transactions object[] yes
total integer no
page integer no
limit integer no
totalPages integer no

CustomPdfRequest#

Field Type Required Notes
styles object no Style options. See GET /api/v1/translate/pdf-styles for fields and ranges (for example fontSize, lineHeight, textAlign, coverStyle, margins).
title string no Title on the cover and header.
showHeader boolean no Default true.
printQuality boolean no True for full-resolution figures (bigger file).

DashboardStats#

Field Type Required Notes
jobs object no Counts of your translation jobs by status.
usage object no Words and Fara used.
recentJobs object[] no
trends object no
trends.daily object[] no
user object no
user.email string no
user.role string no
user.isAdmin boolean no
meta object no
meta.generatedAt string | null no may be null
meta.cacheExpiry integer no

Digest#

Field Type Required Notes
jobId string no
hasDigest boolean no
hasSummary boolean no
digest string no Persian summary text.
digestChars integer no
coverage string no full or partial.
truncated boolean no
status string | null no may be null
faraCost number no
billing string no
savedAt string | null no may be null
brief object | null no Short card: title, kind, summary, points (3 to 5 strings), takeaway, audience. Null until ready. — may be null
briefStatus string no ready, preparing (being made in the background now), or unavailable (could not be made). — one of: ready, preparing, unavailable

DocumentUrlRequest#

JSON alternative to the upload form: the document comes from fileUrl.

Field Type Required Notes
fileUrl string yes An https link to the document (PDF, or Word .docx / EPUB when that input is on; up to 100 MB). We download it instead of an upload: any account, up to 3 redirects, private addresses refused. The file's bytes decide its type.
pageFrom string no As in the upload form (page-range feature).
pageTo string no As in the upload form (page-range feature).

EstimateRequest#

Field Type Required Notes
feature string yes What to price. — one of: translation, meeting, transcription, video, farsi_tts, podcast, audiobook, meeting_tool, content_translation
words integer no translation: words in the document (a rough price; the real quote comes from analysis). content_translation: words of website or app text (or send characters).
delivery string no Deprecated. Every translation runs fast; leave this out. Kept for old clients. — one of: fast, economy
durationSeconds number no meeting, transcription, video, meeting_tool: recording length.
output string no meeting: full (default), summary, key_points, transcript. video: subtitles, standard (default), premium, cloned (the speaker's own voice).
glossary boolean no meeting: a word list will be sent (transcription costs 20% more).
translate boolean no transcription: also translate the transcript.
songDubbing boolean no video with a voice: songs will be sung in Persian (songDubbing: true on create). Adds the song allowance to the hold.
songMode string no video with a voice: mixed or song_only price the same as songDubbing: true. — one of: off, mixed, song_only
characters integer no farsi_tts: length of the text. Or send minutes. content_translation: characters of text to translate.
minutes number no farsi_tts, podcast, audiobook: length of the audio. Podcast and audiobook default to the longest.
tool string no meeting_tool: highlights, recap_email, ask, regenerate_minutes, revise_minutes, write_minutes, mindmap, document, analytics.

EstimateResponse#

Field Type Required Notes
feature string yes
tool string no
faraCharged number yes The expected charge in Fara.
minutesBilled integer no
hold number yes Fara held when the job is created.
note string no

FarsiBookRequest#

Field Type Required Notes
file file yes A PDF that already contains Persian text (up to 100 MB).
title string no
showHeader string no true or false.
styles string no JSON string of style options (see GET /api/v1/translate/pdf-styles).

FarsiTtsCreateRequest#

Field Type Required Notes
text string yes Text to speak. English text is translated to Persian first.
sourceLang string yes one of: en, fa
voiceId string no A voice id from GET /api/v1/farsi-tts/voices, or male / female. Default male.
voiceGender string no Used when voiceId is left out. Default male. — one of: male, female
voiceMood string no Mood of the voice. Default neutral. — one of: neutral, friendly, formal, happy, sad, calm, energetic, serious

FarsiTtsJobEnvelope#

Field Type Required Notes
job object yes
job._id string yes Job id.
job.displayName string | null no The name the customer gave the job (null: the original name is shown). — may be null
job.status string yes pending, active, awaiting_review (waiting for your edits and approval), and the end states completed, failed, cancelled. Treat any other value as still running.
job.stage string no
job.progress number no
job.sourceLang string no
job.voiceGender string no
job.voiceKey string | null no The chosen voice id. — may be null
job.voiceMood string | null no may be null
job.inputText string no
job.farsiText string no Persian text that will be spoken. Editable while awaiting_review.
job.reservedChars integer no Most characters the held Fara covers.
job.estimatedMinutes number no
job.estimatedCost object | null no may be null
job.cost object | null no Price of a media job, in Fara. — may be null
job.cost.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
job.cost.minutesBilled number no Billed minutes, for media jobs.
job.cost.heldFara number no Fara held when the job started.
job.cost.refundedFara number no Part of the hold returned after the actual charge.
job.customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
job.createdAt string | null no may be null
job.updatedAt string | null no may be null

FarsiTtsJobList#

Field Type Required Notes
jobs object[] yes
jobs[]._id string yes Job id.
jobs[].displayName string | null no The name the customer gave the job (null: the original name is shown). — may be null
jobs[].status string yes pending, active, awaiting_review (waiting for your edits and approval), and the end states completed, failed, cancelled. Treat any other value as still running.
jobs[].stage string no
jobs[].progress number no
jobs[].sourceLang string no
jobs[].voiceGender string no
jobs[].voiceKey string | null no The chosen voice id. — may be null
jobs[].voiceMood string | null no may be null
jobs[].inputText string no
jobs[].farsiText string no Persian text that will be spoken. Editable while awaiting_review.
jobs[].reservedChars integer no Most characters the held Fara covers.
jobs[].estimatedMinutes number no
jobs[].estimatedCost object | null no may be null
jobs[].cost object | null no Price of a media job, in Fara. — may be null
jobs[].cost.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
jobs[].cost.minutesBilled number no Billed minutes, for media jobs.
jobs[].cost.heldFara number no Fara held when the job started.
jobs[].cost.refundedFara number no Part of the hold returned after the actual charge.
jobs[].customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
jobs[].createdAt string | null no may be null
jobs[].updatedAt string | null no may be null

FarsiTtsPricing#

Field Type Required Notes
faraPerMin number no Fara per minute of speech, as billed.
charsPerMinute number no Characters of text per minute of speech.
maxInputChars integer no
holdHeadroom number no The hold is this many times the estimate, to allow for edits.

FarsiTtsTextRequest#

Field Type Required Notes
text string yes New Persian text.

FarsiTtsTextResponse#

Field Type Required Notes
ok boolean yes
estimatedMinutes number no
estimatedCost object | null no may be null

LinkedInPosts#

Field Type Required Notes
jobId string no
totalPosts integer no
processedAt string | null no may be null
posts object[] no
metadata object no
faraCost number no
billing string no
heldFara number no Fara held before the work. Only when the price-first switch is on, on the POST answer.
refundedFara number no Fara given back from the hold (held minus charged). Only when the price-first switch is on, on the POST answer.
saved boolean no
savedAt string | null no may be null
warning string no

MagazineRequest#

Field Type Required Notes
file file yes The PDF (up to 100 MB).
mode string no Layout mode. Default phase1.
quality string no Deprecated. Does not change the result. — one of: simple, medium, highest

MediaCreateResponse#

Field Type Required Notes
jobId string yes
cost object no Price of the job; faraCharged is the Fara held.
durationSeconds number no
outputOptions object no Meetings: outputLanguage (or null for the meeting's own language), output and mindmap as they will be used.
externalId string no Early access: as sent.
metadata object no Early access: as sent.

MeetingAnalytics#

Field Type Required Notes
jobId string no
hasAnalytics boolean no GET only.
scores object no
scores.meeting integer no 0-100: 40% engagement, 30% sentiment, 30% participation balance (55/45 engagement/sentiment with one speaker).
scores.engagement integer no 0-100, judged from the transcript text.
scores.sentiment integer no 0-100 (50 = neutral), judged from the transcript text.
scores.participationBalance integer | null no 0-100: 100 when everyone speaks equally. Null with one speaker. — may be null
scores.method string no What the scores are derived from. — one of: transcript_text_and_timing
scores.confidence number no 0-1; lower when windows could not be scored. Hide scores below your own cut-off.
timeline object no
timeline.bucketSeconds integer no
timeline.points object[] no
timeline.points[].at integer no
timeline.points[].speechShare number no Measured.
timeline.points[].engagement integer | null no may be null
timeline.points[].sentiment integer | null no may be null
speakers object[] no
speakers[].speakerId string no
speakers[].name string no
speakers[].talkSeconds number no
speakers[].talkShare number no
speakers[].turns integer no
speakers[].wordsPerMinute integer no
speakers[].longestMonologueSeconds number no
speakers[].questionsAsked integer no
speakers[].interruptions integer no Times this person started speaking before the previous speaker had finished.
speakers[].interrupted integer no
speakers[].sentiment integer | null no Only with includeSpeakerSentiment. — may be null
speakers[].engagement integer | null no Only with includeSpeakerSentiment. — may be null
pace object no
pace.silenceShare number no
pace.overlapShare number no
pace.monologueShare number no
pace.questionCount integer no
durationSeconds number no
includeSpeakerSentiment boolean no
unscoredWindows integer no
faraCost number no
billing string no
processedAt string | null no may be null
savedAt string | null no may be null

MeetingAnalyticsRequest#

Field Type Required Notes
includeSpeakerSentiment boolean no Default true. Send false to leave out per-person sentiment and engagement scores.

MeetingAnswer#

Field Type Required Notes
jobId string no
question string no
answerable boolean no False when the meeting does not contain the answer (no citations then).
answer string no
citations object[] no
citations[].source string no Where the quote is: a spoken turn, or the typed context. — one of: transcript, chat, notes, event
citations[].startSeconds number | null no Null for notes. — may be null
citations[].endSeconds number | null no may be null
citations[].speakerId string | null no Null for typed items. — may be null
citations[].speakerName string | null no For chat: who typed it. — may be null
citations[].quote string no Checked against the transcript or the context.
faraCost number no
billing string no
processedAt string | null no may be null

MeetingAskRequest#

Field Type Required Notes
question string yes Up to 1000 characters.
language string no Answer language. Default: the question's language. — one of: fa, en

MeetingBranding#

Field Type Required Notes
companyName string no Early access: set with PUT /api/v1/meetings/branding. Absent when not set.
headerText string no Early access.
footerText string no Early access.
confidentialityText string no Early access.
primaryColor string no Early access: #RRGGBB.
accentColor string no Early access: #RRGGBB.
logo object | null no may be null
logo.mimeType string no
logo.byteSize integer no
logo.updatedAt string | null no may be null
maxBytes integer no
allowedTypes string[] no

MeetingBrandingTextRequest#

The whole set: a field left out or empty is cleared. Applies to PDF and Word documents made after the call, like the logo.

Field Type Required Notes
companyName string no Company name, shown in place of a logo when there is none. Up to 120 characters. — max length 120
headerText string no A line at the top of every document. Up to 200 characters. — max length 200
footerText string no A line in every page footer. Up to 200 characters. — max length 200
confidentialityText string no A notice at the end of every document. Up to 1000 characters; line breaks kept. — max length 1000
primaryColor string no Title and heading colour, #RRGGBB. — pattern ^#[0-9A-Fa-f]{6}$
accentColor string no Section numbers and markers, #RRGGBB. Default: primaryColor. — pattern ^#[0-9A-Fa-f]{6}$

MeetingBrandingTextResponse#

Field Type Required Notes
branding object no The fields now set.
appliesTo string no

MeetingCategories#

Field Type Required Notes
categories string[] yes Up to 50 names, 60 characters each. An empty list clears it.

MeetingChapters#

Field Type Required Notes
jobId string no
hasChapters boolean no
chapters object[] no
chapters[].index integer no
chapters[].topicIndex integer no Index in minutes.topics.
chapters[].title string no
chapters[].summary string no
chapters[].startSeconds number no
chapters[].endSeconds number | null no may be null
chapters[].speakerIds string[] no
faraCost number no Always 0.
billing string no
savedAt string | null no may be null

MeetingContext#

Field Type Required Notes
chat object[] no Up to 500 chat messages.
chat[].startSeconds number yes Seconds from the start of the recording, like transcript segments.
chat[].speakerName string no Who typed it. Up to 100 characters.
chat[].text string yes Up to 2000 characters.
notes string no Plain text of the shared notes, up to 60000 characters.
events object[] no Up to 200 events (joins, leaves, screen share).
events[].startSeconds number yes
events[].text string yes What happened, e.g. «علی رضایی وارد شد». Up to 2000 characters.
updatedAt string | null no Set by the server. — may be null

MeetingContextDeleted#

Field Type Required Notes
jobId string no
deleted boolean no

MeetingContextResponse#

Field Type Required Notes
jobId string no
context object no
context.chat object[] no Up to 500 chat messages.
context.chat[].startSeconds number yes Seconds from the start of the recording, like transcript segments.
context.chat[].speakerName string no Who typed it. Up to 100 characters.
context.chat[].text string yes Up to 2000 characters.
context.notes string no Plain text of the shared notes, up to 60000 characters.
context.events object[] no Up to 200 events (joins, leaves, screen share).
context.events[].startSeconds number yes
context.events[].text string yes What happened, e.g. «علی رضایی وارد شد». Up to 2000 characters.
context.updatedAt string | null no Set by the server. — may be null

MeetingCreateRequest#

Field Type Required Notes
audio file no Audio file: mp3, m4a/mp4, wav, webm, ogg, or flac (up to 200 MB). Leave out when sending audioUrl.
language string no Spoken language. Default auto. — one of: auto, en, fa
attendees string[] no Early access: names of the people in the meeting (up to 50). Used to name speakers when the recording gives evidence; never assigned by order. Multipart forms send a JSON array string or a comma-separated list.
outputLanguage string no Write the minutes in this language whatever language was spoken. Default: the meeting's language. — one of: fa, en
output string no The document to make: full minutes (default), a one-page summary, bullet-point key_points, or the transcript alone (no minutes writing, so it costs less; see faraPerMinTranscript). — one of: full, summary, key_points, transcript
mindmap boolean no Also draw a mind map of the minutes (free; not with output: transcript). Download with GET /api/v1/meetings/jobs/{id}/mindmap/pdf. Multipart forms send true or false.
template string no Early access: a meeting template id from GET /api/v1/meetings/templates. Default general.
glossary object[] no Early access: names and product words (up to 300). Sent to the transcriber and the minutes writer. Makes transcription 20% dearer; the price includes it. Multipart forms send a JSON array string.
glossary[].term string no How it may be heard or written wrongly (optional).
glossary[].spelling string yes The right spelling, up to 50 characters and 5 words.
participants object[] no Early access: who was in the meeting (up to 100). Their names name the speakers when attendees is not sent, and their number caps how many speakers are told apart. Multipart forms send a JSON array string.
participants[].id string no
participants[].displayName string yes
participants[].joinedAt string | null no may be null
participants[].leftAt string | null no may be null
deleteAfterDays integer no Early access: delete the job and its files this many days after it was created (1-3650). — min 1; max 3650
externalId string no Early access: your own reference for this job (up to 200 characters). Echoed in the job, its webhook events and its ledger rows.
metadata object no Early access: up to 20 keys of your own (strings, numbers, booleans; 4 KB as JSON). Multipart forms send it as a JSON string. Echoed in the job and its webhook events.
audioUrl string no An https link we download the recording from, instead of uploading it (for example a presigned storage link). Any account. Same size limit as an upload; up to 3 redirects; private addresses are refused. Send it in a JSON body with no file and no uploadId.

MeetingCreateUrlRequest#

Send uploadId (a finished chunked upload) or, with early access, audioUrl.

Field Type Required Notes
uploadId string no A finished chunked upload (upl_..., see POST /api/v1/uploads) to make the job from, in place of a file. Any account. Nothing is held or charged for the upload itself; one upload makes one job.
audioUrl string no An https link we download the recording from, instead of uploading it (for example a presigned storage link). Any account. Same size limit as an upload; up to 3 redirects; private addresses are refused. Send it in a JSON body with no file and no uploadId.
language string no Spoken language. Default auto. — one of: auto, en, fa
attendees string[] no Names of the people in the meeting (up to 50).
outputLanguage string no Write the minutes in this language whatever language was spoken. Default: the meeting's language. — one of: fa, en
output string no The document to make: full minutes (default), a one-page summary, bullet-point key_points, or the transcript alone (no minutes writing, so it costs less; see faraPerMinTranscript). — one of: full, summary, key_points, transcript
mindmap boolean no Also draw a mind map of the minutes (free; not with output: transcript). Download with GET /api/v1/meetings/jobs/{id}/mindmap/pdf. Multipart forms send true or false.
template string no A template id from GET /api/v1/meetings/templates.
glossary object[] no Early access: names and product words (up to 300). Sent to the transcriber and the minutes writer. Makes transcription 20% dearer; the price includes it. Multipart forms send a JSON array string.
glossary[].term string no How it may be heard or written wrongly (optional).
glossary[].spelling string yes The right spelling, up to 50 characters and 5 words.
participants object[] no Early access: who was in the meeting (up to 100). Their names name the speakers when attendees is not sent, and their number caps how many speakers are told apart. Multipart forms send a JSON array string.
participants[].id string no
participants[].displayName string yes
participants[].joinedAt string | null no may be null
participants[].leftAt string | null no may be null
deleteAfterDays integer no Early access: delete the job and its files this many days after it was created (1-3650). — min 1; max 3650
externalId string no Early access: your own reference for this job (up to 200 characters). Echoed in the job, its webhook events and its ledger rows.
metadata object no Early access: up to 20 keys of your own (strings, numbers, booleans; 4 KB as JSON). Multipart forms send it as a JSON string. Echoed in the job and its webhook events.

MeetingDocumentList#

Field Type Required Notes
jobId string no
documents object[] no
documents[].id string no Document id. original: the job's own PDF.
documents[].type string no one of: full, summary, key_points, transcript
documents[].format string no one of: pdf, docx
documents[].state string no one of: queued, running, done, failed
documents[].heldFara number no Fara held: the document's flat price, plus the minutes writing when the meeting had only a transcript.
documents[].faraCost number no Fara charged, once done.
documents[].byteSize integer no
documents[].error object | null no may be null
documents[].error.code string no
documents[].error.message string no
documents[].original boolean no True for the job's own files.
documents[].createdAt string | null no may be null
documents[].finishedAt string | null no may be null

MeetingDocumentRequest#

Field Type Required Notes
output string yes Which document. — one of: full, summary, key_points, transcript
format string no File type. Default pdf. — one of: pdf, docx

MeetingDocumentResponse#

Field Type Required Notes
jobId string no
document object no
document.id string no Document id. original: the job's own PDF.
document.type string no one of: full, summary, key_points, transcript
document.format string no one of: pdf, docx
document.state string no one of: queued, running, done, failed
document.heldFara number no Fara held: the document's flat price, plus the minutes writing when the meeting had only a transcript.
document.faraCost number no Fara charged, once done.
document.byteSize integer no
document.error object | null no may be null
document.error.code string no
document.error.message string no
document.original boolean no True for the job's own files.
document.createdAt string | null no may be null
document.finishedAt string | null no may be null

MeetingEditedTranscriptRequest#

Field Type Required Notes
segments object[] yes
segments[].id string no
segments[].startSeconds number yes
segments[].endSeconds number yes
segments[].speakerId string | null no A speaker id of this meeting. — may be null
segments[].text string yes

MeetingEditedTranscriptResponse#

Field Type Required Notes
jobId string no
edited boolean no
segmentCount integer no
editedAt string | null no may be null

MeetingEstimate#

Field Type Required Notes
durationSeconds number no
minutes object | null no Price of a media job, in Fara. — may be null
minutes.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
minutes.minutesBilled number no Billed minutes, for media jobs.
minutes.heldFara number no Fara held when the job started.
minutes.refundedFara number no Part of the hold returned after the actual charge.
transcriptOnly object | null no Price of a media job, in Fara. — may be null
transcriptOnly.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
transcriptOnly.minutesBilled number no Billed minutes, for media jobs.
transcriptOnly.heldFara number no Fara held when the job started.
transcriptOnly.refundedFara number no Part of the hold returned after the actual charge.
transcript object no
transcript.faraCharged number no Always 0: the transcript comes with the meeting job.
tools object no Hold per paid tool for this length: highlights, recap_email, ask (per question), regenerate_minutes, revise_minutes (per instruction), write_minutes (minutes for a transcript-only meeting, before POST /jobs/{id}/documents), document (each extra document, flat), mindmap (POST /jobs/{id}/mindmap, flat), analytics, each { faraCharged }. The charge is the actual cost and never more than the hold.
transcriptionJob object | null no Price of a media job, in Fara. — may be null
transcriptionJob.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
transcriptionJob.minutesBilled number no Billed minutes, for media jobs.
transcriptionJob.heldFara number no Fara held when the job started.
transcriptionJob.refundedFara number no Part of the hold returned after the actual charge.

MeetingEstimateRequest#

Field Type Required Notes
durationSeconds number yes Length of the recording in seconds.

MeetingHighlights#

Field Type Required Notes
jobId string no
hasHighlights boolean no GET only.
highlights object[] no
highlights[].kind string no one of: decision, commitment, question, disagreement, number, risk, praise
highlights[].text string no What happened, in one sentence.
highlights[].quote string no The words as spoken, checked against the transcript.
highlights[].startSeconds number no
highlights[].endSeconds number no A play window of 5-60 seconds.
highlights[].speakerId string no
highlights[].speakerName string | null no may be null
highlights[].importance number no 0-1.
droppedUnverifiedQuotes integer no Highlights left out because their quote was not found in the transcript.
faraCost number no Fara charged by this call (0 on GET).
chargedFara number | null no GET only: what the saved result cost when it was made. — may be null
billing string no
processedAt string | null no may be null
savedAt string | null no may be null

MeetingJobEnvelope#

Field Type Required Notes
job object yes
job._id string yes Job id.
job.displayName string | null no The name the customer gave the job (null: the original name is shown). — may be null
job.status string yes pending, active, awaiting_review (waiting for your edits and approval), retrying, finalizing, pending_finalization, and the end states completed, failed, cancelled. Treat any other value as still running.
job.stage string no
job.progress number no
job.originalFilename string no
job.audioDurationSeconds number no
job.language string no
job.reviewVersion integer no Send as If-Match when editing or approving the review.
job.minutes object | null no The meeting minutes: title, attendees, decisions, action items, and more. Early-access jobs also get category (one of your categories, or "") and tags (1-3 keywords), and add startSeconds/endSeconds/speakerIds on topics, startSeconds/speakerId on decisions and action items, openQuestionDetails, speakers and nextMeetingDetail (see the meeting guide). — may be null
job.transcript object | null no Transcript. Word timings are left out unless full=1; wordCount is given instead. — may be null
job.readOnly boolean no
job.cost object | null no Price of a media job, in Fara. — may be null
job.cost.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
job.cost.minutesBilled number no Billed minutes, for media jobs.
job.cost.heldFara number no Fara held when the job started.
job.cost.refundedFara number no Part of the hold returned after the actual charge.
job.customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
job.externalId string no Early access: as sent at creation.
job.metadata object no Early access: as sent at creation.
job.minutesOptions object no Early access: attendees, outputLanguage and template as sent at creation.
job.minutesRegeneration object no Early access: state of the last minutes rebuild: state (queued, running, done, failed), heldFara, faraCost, and error: {code, message} when failed (same shape as minutesRevision and documents; customerErrorCode is kept for older clients).
job.minutesRevision object no Early access: state of the last revision by instruction: state (queued, running, done, failed), instruction, heldFara, faraCost, changes ([{type: added|removed|edited, section, before, after}] when done), reviewVersion, and error: {code, message} when failed (INSTRUCTION_NOT_APPLICABLE with a message you can show when the change could not be made; nothing is charged then).
job.minutesWriting object no Early access: minutes being written for a transcript-only meeting (for POST /jobs/{id}/documents): state, heldFara, faraCost.
job.minutesVersionCount integer no Early access: older versions kept (GET /jobs/{id}/minutes/versions).
job.lastRevision object no Early access: the last applied revision: instruction, changes, at.
job.context object no Early access: a summary of the chat, notes and events you sent: chatCount, eventCount, hasNotes, updatedAt. Full text: GET /jobs/{id}/context.
job.documents object[] no Early access: extra documents (POST /jobs/{id}/documents).
job.documents[].id string no Document id. original: the job's own PDF.
job.documents[].type string no one of: full, summary, key_points, transcript
job.documents[].format string no one of: pdf, docx
job.documents[].state string no one of: queued, running, done, failed
job.documents[].heldFara number no Fara held: the document's flat price, plus the minutes writing when the meeting had only a transcript.
job.documents[].faraCost number no Fara charged, once done.
job.documents[].byteSize integer no
job.documents[].error object | null no may be null
job.documents[].original boolean no True for the job's own files.
job.documents[].createdAt string | null no may be null
job.documents[].finishedAt string | null no may be null
job.glossary object[] no Early access: as sent.
job.participants object[] no Early access: as sent.
job.deleteAfter string | null no Early access: when the job deletes itself (deleteAfterDays). — may be null
job.createdAt string | null no may be null
job.updatedAt string | null no may be null

MeetingJobList#

Field Type Required Notes
jobs object[] yes
jobs[]._id string yes Job id.
jobs[].displayName string | null no The name the customer gave the job (null: the original name is shown). — may be null
jobs[].status string yes pending, active, awaiting_review (waiting for your edits and approval), retrying, finalizing, pending_finalization, and the end states completed, failed, cancelled. Treat any other value as still running.
jobs[].stage string no
jobs[].progress number no
jobs[].originalFilename string no
jobs[].audioDurationSeconds number no
jobs[].language string no
jobs[].reviewVersion integer no Send as If-Match when editing or approving the review.
jobs[].minutes object | null no The meeting minutes: title, attendees, decisions, action items, and more. Early-access jobs also get category (one of your categories, or "") and tags (1-3 keywords), and add startSeconds/endSeconds/speakerIds on topics, startSeconds/speakerId on decisions and action items, openQuestionDetails, speakers and nextMeetingDetail (see the meeting guide). — may be null
jobs[].transcript object | null no Transcript. Word timings are left out unless full=1; wordCount is given instead. — may be null
jobs[].readOnly boolean no
jobs[].cost object | null no Price of a media job, in Fara. — may be null
jobs[].cost.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
jobs[].cost.minutesBilled number no Billed minutes, for media jobs.
jobs[].cost.heldFara number no Fara held when the job started.
jobs[].cost.refundedFara number no Part of the hold returned after the actual charge.
jobs[].customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
jobs[].externalId string no Early access: as sent at creation.
jobs[].metadata object no Early access: as sent at creation.
jobs[].minutesOptions object no Early access: attendees, outputLanguage and template as sent at creation.
jobs[].minutesRegeneration object no Early access: state of the last minutes rebuild: state (queued, running, done, failed), heldFara, faraCost, and error: {code, message} when failed (same shape as minutesRevision and documents; customerErrorCode is kept for older clients).
jobs[].minutesRevision object no Early access: state of the last revision by instruction: state (queued, running, done, failed), instruction, heldFara, faraCost, changes ([{type: added|removed|edited, section, before, after}] when done), reviewVersion, and error: {code, message} when failed (INSTRUCTION_NOT_APPLICABLE with a message you can show when the change could not be made; nothing is charged then).
jobs[].minutesWriting object no Early access: minutes being written for a transcript-only meeting (for POST /jobs/{id}/documents): state, heldFara, faraCost.
jobs[].minutesVersionCount integer no Early access: older versions kept (GET /jobs/{id}/minutes/versions).
jobs[].lastRevision object no Early access: the last applied revision: instruction, changes, at.
jobs[].context object no Early access: a summary of the chat, notes and events you sent: chatCount, eventCount, hasNotes, updatedAt. Full text: GET /jobs/{id}/context.
jobs[].documents object[] no Early access: extra documents (POST /jobs/{id}/documents).
jobs[].documents[].id string no Document id. original: the job's own PDF.
jobs[].documents[].type string no one of: full, summary, key_points, transcript
jobs[].documents[].format string no one of: pdf, docx
jobs[].documents[].state string no one of: queued, running, done, failed
jobs[].documents[].heldFara number no Fara held: the document's flat price, plus the minutes writing when the meeting had only a transcript.
jobs[].documents[].faraCost number no Fara charged, once done.
jobs[].documents[].byteSize integer no
jobs[].documents[].error object | null no may be null
jobs[].documents[].original boolean no True for the job's own files.
jobs[].documents[].createdAt string | null no may be null
jobs[].documents[].finishedAt string | null no may be null
jobs[].glossary object[] no Early access: as sent.
jobs[].participants object[] no Early access: as sent.
jobs[].deleteAfter string | null no Early access: when the job deletes itself (deleteAfterDays). — may be null
jobs[].createdAt string | null no may be null
jobs[].updatedAt string | null no may be null

MeetingLogoRequest#

Field Type Required Notes
logo file yes PNG, JPEG, or WebP, up to 2 MB.

MeetingLogoResponse#

Field Type Required Notes
logo object no
logo.mimeType string no
logo.byteSize integer no
logo.updatedAt string | null no may be null

MeetingMindmapCreated#

Field Type Required Notes
jobId string no
mindmap object no
mindmap.state string no one of: rendering
mindmap.title string no
faraCost number no Fara charged.

MeetingMinutesJson#

Field Type Required Notes
minutes object yes

MeetingMinutesRequest#

Field Type Required Notes
minutes object yes The full edited minutes object.

MeetingMinutesRestored#

Field Type Required Notes
jobId string no
restoredFrom integer no
reviewVersion integer no The new version (the restored minutes are a new version; the replaced ones are kept too).
filesRebuilding boolean no The PDF, Word file and mind map are being rebuilt; the old ones serve until then.

MeetingMinutesVersion#

Field Type Required Notes
jobId string no
version integer no
title string no
replacedAt string | null no may be null
replacedBy string no
minutes object no The minutes as they were.

MeetingMinutesVersions#

Field Type Required Notes
jobId string no
currentVersion integer no
versions object[] no Newest first; the last 20 are kept.
versions[].version integer no The reviewVersion these minutes had.
versions[].title string no
versions[].replacedAt string | null no may be null
versions[].replacedBy string no What replaced them. — one of: regenerate, revise, restore, document

MeetingOperations#

Field Type Required Notes
jobId string no
operations object[] no Newest first.
operations[].id string no minutesRegeneration, minutesRevision, minutesWriting, document:<docId> or mindmap.
operations[].kind string no one of: regenerate_minutes, revise_minutes, write_minutes, document, mindmap
operations[].state string no one of: queued, running, done, failed
operations[].heldFara number | null no may be null
operations[].faraCost number | null no may be null
operations[].error object | null no may be null
operations[].error.code string no
operations[].error.message string | null no may be null
operations[].startedAt string | null no may be null
operations[].finishedAt string | null no may be null
operations[].changes object[] no revise_minutes only: what changed.
operations[].documentId string no document only.
operations[].type string no document only.
operations[].format string no document only.

MeetingPricing#

Field Type Required Notes
faraPerMin number no Typical Fara per minute, for minutes (output full, summary or key_points).
faraPerMinTranscript number no Typical Fara per minute for output: transcript (speech to text only).
maxDurationSeconds integer no
outputs string[] no Allowed output values.
outputLanguages string[] no Allowed outputLanguage values.

MeetingRecapEmail#

Field Type Required Notes
jobId string no
hasRecapEmail boolean no GET only.
subject string no
markdown string no
html string no The same body as HTML, in a <div dir=...>.
tone string no
language string | null no may be null
faraCost number no
billing string no
processedAt string | null no may be null
savedAt string | null no may be null

MeetingRecapEmailRequest#

Field Type Required Notes
language string no Default: the minutes' language. — one of: fa, en
tone string no Default short. — one of: short, detailed

MeetingRegenerateRequest#

Field Type Required Notes
segments object[] no Optional: save this corrected transcript first.

MeetingRegenerateResponse#

Field Type Required Notes
jobId string no
minutesRegeneration object no
minutesRegeneration.state string no one of: queued
minutesRegeneration.heldFara number no
minutesRegeneration.fromEditedTranscript boolean no

MeetingReviseRequest#

Field Type Required Notes
instruction string yes What to change, in plain words, up to 1000 characters. For example «تصمیم دوم را حذف کن و مسئول اقدام سوم را علی بگذار». — max length 1000
language string no Language for new or edited text. Default: the minutes' language. — one of: fa, en

MeetingReviseResponse#

Field Type Required Notes
jobId string no
minutesRevision object no
minutesRevision.state string no one of: queued
minutesRevision.heldFara number no
minutesRevision.instruction string no

MeetingSpeakerList#

Field Type Required Notes
jobId string no
speakers object[] no
speakers[].speakerId string no Transcriber id, e.g. speaker_0. The same id everywhere: minutes, transcript, highlights, analytics.
speakers[].name string no Empty when unknown.
speakers[].matchConfidence number no 0-1.
speakers[].source string no one of: attendeeHint, transcript, manual, diarizationOnly
speakers[].talkSeconds number no

MeetingSpeakerNamesRequest#

Field Type Required Notes
speakers object[] no Finished meetings: the renames. All or nothing: if one quote cannot be matched, nothing is renamed.
speakers[].speakerId string no A speaker id, e.g. speaker_0. Send this or quote.
speakers[].quote string no Instead of speakerId: a line this person said, copied from the transcript (3 words or more, up to 1000 characters). Punctuation, ZWNJ and Arabic/Persian letter forms are ignored. The speaker who said it is renamed.
speakers[].atSeconds number no With quote: about when it was said (seconds from the start). Needed only when the same words were said by more than one person; the time closest to this, within 120 seconds, is used.
speakers[].name string yes Name to show; empty clears a name set earlier.
dryRun boolean no Finished meetings: true answers who each quote belongs to (matches) and changes nothing.
names object no Map of speaker id to { name, role } (review-state shape; also accepted for finished meetings).

MeetingSpeakerNamesResponse#

Field Type Required Notes
ok boolean yes
minutes object no
reviewVersion integer yes
speakers object[] no Finished meetings: the speaker list after the rename.
speakers[].speakerId string no Transcriber id, e.g. speaker_0. The same id everywhere: minutes, transcript, highlights, analytics.
speakers[].name string no Empty when unknown.
speakers[].matchConfidence number no 0-1.
speakers[].source string no one of: attendeeHint, transcript, manual, diarizationOnly
speakers[].talkSeconds number no
matches object[] no Finished meetings: for each entry sent with quote, where it was found.
matches[].index integer no Position of the entry in speakers.
matches[].speakerId string no Who said the quote.
matches[].startSeconds number no
matches[].endSeconds number no
matches[].occurrences integer no How many times these words were said in the meeting (by anyone).
dryRun boolean no Present and true when nothing was changed.
renames object[] no With dryRun: the renames that would be made.
renames[].speakerId string no
renames[].name string no
pdfRerendering boolean no Finished meetings: the PDF is being rendered again; the old one serves until then.

MeetingSpeakers#

Field Type Required Notes
jobId string no
speakers object[] no Most talk time first.
speakers[].speakerId string no Transcriber id, e.g. speaker_0. The same id in the minutes, transcript and renames.
speakers[].id string no Same as speakerId (kept for older clients).
speakers[].name string no Empty when unknown.
speakers[].source string no one of: attendeeHint, transcript, manual, diarizationOnly
speakers[].matchConfidence number no 0-1.
speakers[].talkSeconds number no
speakers[].turns integer no
speakers[].seconds integer no
speakers[].samples string[] no Up to 3 of their longest turns, to recognise them by.
language string | null no may be null

MeetingTemplates#

Field Type Required Notes
templates object[] no
templates[].id string no
templates[].label object no
templates[].label.en string no
templates[].label.fa string no
templates[].description object no
templates[].description.en string no
templates[].description.fa string no

MeetingTranscript#

Field Type Required Notes
jobId string no
language string | null no may be null
durationSeconds number | null no may be null
edited boolean no True when this is the corrected transcript you saved (it has no word timings).
speakers object[] no
speakers[].speakerId string no Transcriber id, e.g. speaker_0. The same id everywhere: minutes, transcript, highlights, analytics.
speakers[].name string no Empty when unknown.
speakers[].matchConfidence number no 0-1.
speakers[].source string no one of: attendeeHint, transcript, manual, diarizationOnly
speakers[].talkSeconds number no
segments object[] no
segments[].id string no
segments[].startSeconds number no
segments[].endSeconds number no
segments[].speakerId string | null no may be null
segments[].speakerName string | null no may be null
segments[].text string no
segments[].words object[] no Only with words=1.
segments[].words[].w string no Word.
segments[].words[].s number no Start, seconds.
segments[].words[].e number no End, seconds.
faraCost number no Always 0.

MeetingsAnswer#

Field Type Required Notes
question string no
answerable boolean no
answer string no
citations object[] no
citations[].jobId string no
citations[].startSeconds number | null no may be null
citations[].text string no
jobIds string[] no
faraCost number no
billing string no
processedAt string | null no may be null

MeetingsAskRequest#

Field Type Required Notes
question string yes Up to 1000 characters.
jobIds string[] no Up to 20 finished meetings. Or send from/to.
from string no ISO date: meetings created from this time (newest 20).
to string no
language string no one of: fa, en

MeetingsDigest#

Field Type Required Notes
title string no
summary string no
meetings object[] no
meetings[].jobId string no
meetings[].title string no
meetings[].keyPoints string[] no
decisions object[] no
decisions[].jobId string no
decisions[].startSeconds number | null no may be null
decisions[].text string no
actionItems object[] no
actionItems[].jobId string no
actionItems[].startSeconds number | null no may be null
actionItems[].owner string no
actionItems[].task string no
actionItems[].dueDate string no
openQuestions object[] no
openQuestions[].jobId string no
openQuestions[].startSeconds number | null no may be null
openQuestions[].text string no
jobIds string[] no
faraCost number no
billing string no
processedAt string | null no may be null

MeetingsDigestRequest#

Field Type Required Notes
jobIds string[] no Up to 20 finished meetings. Or send from/to.
from string no
to string no
language string no one of: fa, en

MessageResponse#

Field Type Required Notes
message string no
jobId string no
analysisId string no

Mindmap#

Field Type Required Notes
jobId string no
hasMindmap boolean no
title string no
root object | null no Root node. Each node has a label and children. — may be null
nodeCount integer no
metadata object no
faraCost number no
billing string no
heldFara number no Fara held before the work. Only when the price-first switch is on, on the POST answer.
refundedFara number no Fara given back from the hold (held minus charged). Only when the price-first switch is on, on the POST answer.
processedAt string | null no may be null
savedAt string | null no may be null

MindmapPdfRequest#

Field Type Required Notes
title string no
harmonyId string no Color set id from GET /api/v1/translate/mindmap/spec.

OkResponse#

Field Type Required Notes
ok boolean yes

PageRangeRequest#

Field Type Required Notes
pageFrom integer no First page to translate (1-based, inclusive). Give with pageTo.
pageTo integer no Last page to translate (1-based, inclusive).
chapters integer[] no Or: indexes of consecutive chapters from the job's pageRangeOffer.chapters, instead of pages.

PaymentHistory#

Field Type Required Notes
payments object[] yes
total integer yes
page integer yes
limit integer no
totalPages integer yes

PaymentPackages#

Field Type Required Notes
vatRate number no Value added tax added at checkout, as a fraction (0.1 means 10%).
packages object[] yes
packages[].id string no
packages[].priceTomans number no Listed pack price in toman, before value added tax.
packages[].vatTomans number no Value added tax on this pack in toman (price × vatRate, rounded to the nearest toman, halves up).
packages[].totalTomans number no What you pay on the website: priceTomans + vatTomans.
packages[].creditFara number no Fara you get. VAT does not change it.
packages[].perFara number no
packages[].discount number no
packages[].shelf string no
packages[].description string no
gatewayEnabled boolean no Whether buying is open right now (on the website).

PaymentStatus#

Field Type Required Notes
authority string no
status string no
refId string | null no Bank reference, when completed. — may be null

Profile#

Your account profile (email, name, verification flags, Fara totals, and settings). Secrets are never included.

Free-form object.

Proofreading#

Field Type Required Notes
jobId string no
hasProofreading boolean no
edits object | null no may be null
edits.vocabulary object[] no
edits.substitutions object[] no
edits.paragraphs object[] no
summary object | null no may be null
processedAt string | null no may be null
savedAt string | null no may be null
appliedAt string | null no may be null
faraCost number no
billing string no
saved boolean no

QueueResponse#

Field Type Required Notes
ok boolean no
queued boolean no
name string no What was queued.
postprocessAttempt integer no

RecoverRequest#

Field Type Required Notes
forceRegenerate boolean no Rebuild the output files even if they exist.
forceRequeue boolean no Admin only. From an API key it answers 403 ADMIN_REVIEW_REQUIRED.

RecoverResponse#

Field Type Required Notes
jobId string yes
currentStatus string no
hasBilingualContent boolean no
hasChunks boolean no
chunkCount integer no
totalChunks integer no
hasDocxFile boolean no
hasPdfFile boolean no
completedChunks integer no
recovery object yes
recovery.success boolean yes
recovery.action string yes What recovery did: reattached_running_execution, update_status, regenerate_outputs, requeue_job, or no_data.
recovery.newStatus string no
recovery.message string no
recovery.suggestion string no

RegenerateRequest#

Field Type Required Notes
revision integer no Optional: the revision you last read. Mismatch gives 409 STALE_REVISION.

RegenerateResponse#

Field Type Required Notes
success boolean no
docxFileId string no
pdfFileId string | null no may be null
pdfGenerated boolean no
regeneratedAt string | null no may be null

ResendChunksRequest#

Field Type Required Notes
revision integer no Optional: the revision from GET /api/v1/translate/{jobId}/bilingual. If the translation changed since, you get 409 STALE_REVISION.

ResendChunksResponse#

Field Type Required Notes
jobId string no
type string no
retryableOnly boolean no
totalResent integer no Sections sent again.
successCount integer no
failedCount integer no
stillEmptyCount integer no
stillEmpty string[] no
stillFailed string[] no
regenerated boolean no True when the output files were rebuilt.
regenerationError string | null no may be null
warnings object[] no
results object[] no One entry per section tried.
results[].blockId string no
results[].success boolean no
results[].errorCode string no
results[].retryable boolean no
results[].error string no
retryLocked boolean no Present and true when sections still failed: the job is now locked for our team.
adminReviewRequired boolean no
reviewReasonCode string no

ResumableUploads#

Field Type Required Notes
items object[] no Newest first.
items[].kind string no analyzed (ready to start) or extracting (analysis still running).
items[].jobId string no
items[].analysisId string no
items[].filename string | null no may be null
items[].fileSize integer | null no may be null
items[].progress number no
items[].phase string no
items[].createdAt string | null no may be null

RetryResponse#

Field Type Required Notes
message string no
jobId string yes
status string yes pending.

ReviewEditResponse#

Field Type Required Notes
ok boolean yes
reviewVersion integer yes New review version. Use it for the next edit.

SavedToolDeleted#

Field Type Required Notes
jobId string no
deleted boolean no

ScriptSegmentEditRequest#

Field Type Required Notes
text string yes New text for this script segment.

ScriptSegmentEditResponse#

Field Type Required Notes
ok boolean yes
reviewVersion integer yes
estimatedMinutes number no
estimatedCost object | null no may be null

SegmentEditRequest#

Field Type Required Notes
farsi string yes New Persian text for this segment.

Slides#

Field Type Required Notes
jobId string no
hasSlides boolean no
slides object[] no
metadata object no
faraCost number no
billing string no
heldFara number no Fara held before the work. Only when the price-first switch is on, on the POST answer.
refundedFara number no Fara given back from the hold (held minus charged). Only when the price-first switch is on, on the POST answer.
processedAt string | null no may be null
savedAt string | null no may be null
pptxFileId string | null no may be null
slidesPdfFileId string | null no may be null
filesGeneratedAt string | null no may be null

SlidesFiles#

Field Type Required Notes
jobId string no
pptxFileId string no
slidesPdfFileId string no
styles object no
styles.pptxStyle string no
styles.pdfStyle string no
faraCost number no Always 0: making files is free.
pptxSize integer no
slidesPdfSize integer no
generated boolean no

SlidesFilesRequest#

Field Type Required Notes
pptxStyle string no Style id from GET /api/v1/translate/slides/design-styles (pptx.styles).
pdfStyle string no Style id from GET /api/v1/translate/slides/design-styles (pdf.styles).

StartTranslationRequest#

Field Type Required Notes
executionMode string no Deprecated. Every translation runs fast: send realtime, or leave it out. economy_batch is still accepted and runs as realtime. Any other value answers 400 INVALID_EXECUTION_MODE. — one of: economy_batch, realtime
quality string no Deprecated. It no longer changes the result: the translation keeps the tone of the source. Still accepted, so old clients keep working. — one of: simple, medium, highest
workflow string no One of availableWorkflows from the analysis. Leave out for the default.
freePreview boolean no Translate only the first pages free (see freePreviewOffer in the analysis). Once per account; always fast delivery; no balance needed. 403 FREE_PREVIEW_ALREADY_USED, FREE_PREVIEW_UNAVAILABLE or EMAIL_NOT_VERIFIED when it cannot be used. A document in Persian kept in Persian (targetLanguage left out or fa) gets no free preview: 403 FREE_PREVIEW_UNAVAILABLE.
targetLanguage string no The language to translate into. Leave out for Persian (fa). Another language (en, ar, de, fr, es, ru, tr, zh) is accepted only for a document in Persian (sourceLanguageNotice: "persian" in the analysis); such a job runs in the standard mode, keeps every image as it is and makes no book summary. The rest of a free preview goes into the preview's language when this is left out. — one of: fa, en, ar, de, fr, es, ru, tr, zh
translateImages boolean no Translate the text inside images (charts, diagrams, infographics). On by default. Each image with text adds about imageTranslation.pricePerImage Fara to the charge, paid from the balance left after the translation's own hold; images the balance does not cover keep their original picture. Send false to keep every image as it is, at no extra cost.

StartTranslationResponse#

Field Type Required Notes
jobId string yes
quality string no
workflow string no
executionMode string no one of: economy_batch, realtime
availableWorkflows string[] no
message string no
totalChunks integer no
status string yes pending.
freePreview boolean no True when only the free first pages are translated.
freePreviewPages integer no On a free preview: how many leading pages are free.
translateImages boolean no Whether the text inside images is translated for this job.
targetLanguage string no The language the job translates into. — one of: fa, en, ar, de, fr, es, ru, tr, zh

SummaryPdfRequest#

Field Type Required Notes
styles object no Style options, as for custom PDFs.
title string no
showHeader boolean no

TransactionPage#

One page of the Fara ledger, newest first.

Field Type Required Notes
data object[] yes
data[].id string yes Transaction id. Also the pagination cursor.
data[].type string yes For example credit_hold, credit_refund, translation_charge, video_charge, meeting_charge, audio_charge, farsi_tts_charge, transcription_charge, knowledge_charge, slides_charge, service_failure_refund, payment_chargeback, or a top-up.
data[].amount number yes Size of the transaction in Fara. A settlement (*_charge) row is 0: the hold already took the Fara, and any overestimate comes back as its own credit_refund row. Read chargedAmount for what the work cost.
data[].balanceChange number | null no Signed change to the spendable balance. — may be null
data[].balanceAfter number | null no Spendable balance after this transaction. — may be null
data[].jobId string | null no Ledger id of the job. Tools and resends use derived ids such as slides-<jobId>-<time>, chunk-resend:<jobId>:<id>, or video-reprocess-<id>-<time>. — may be null
data[].relatedJobId string | null no The parent job this row belongs to (the plain job id, also for derived ledger ids). — may be null
data[].description string | null no may be null
data[].externalId string no Early access: the externalId of the job this row belongs to, when it has one.
data[].settlementStatus string no Only on credit_hold: reserved, pending_finalization, charged, released, or failed_reconciliation.
data[].chargedAmount number no On settlement rows: the Fara the work actually cost (can be above heldAmount when the difference was charged).
data[].heldAmount number no On settlement rows: the Fara that was held for it.
data[].createdAt string | null yes may be null
hasMore boolean yes True when there are more items after this page.
nextCursor string | null yes Pass as startingAfter to get the next page. Null on the last page. — may be null

TranscriptionCreateJsonRequest#

Send uploadId (a finished chunked upload) or, with early access, audioUrl.

Field Type Required Notes
uploadId string no A finished chunked upload (upl_..., see POST /api/v1/uploads) to make the job from, in place of a file. Any account. Nothing is held or charged for the upload itself; one upload makes one job.
audioUrl string no An https link we download the recording from, instead of uploading it (for example a presigned storage link). Any account. Same size limit as an upload; up to 3 redirects; private addresses are refused. Send it in a JSON body with no file and no uploadId.
sourceLanguage string no auto or a 2-3 letter language code. Default auto.
targetLanguage string no Translate the transcript into this language, or none. See GET /api/v1/transcription/pricing.
externalId string no Early access: your own reference for this job (up to 200 characters). Echoed in the job, its webhook events and its ledger rows.
metadata object no Early access: up to 20 keys of your own (strings, numbers, booleans; 4 KB as JSON). Multipart forms send it as a JSON string. Echoed in the job and its webhook events.

TranscriptionCreateRequest#

Field Type Required Notes
audio file no Audio file: mp3, m4a/mp4, wav, webm, ogg, or flac (up to 200 MB).
sourceLanguage string no auto or a 2-3 letter language code. Default auto.
targetLanguage string no Translate the transcript into this language, or none. See GET /api/v1/transcription/pricing.
externalId string no Early access: your own reference for this job (up to 200 characters). Echoed in the job, its webhook events and its ledger rows.
metadata object no Early access: up to 20 keys of your own (strings, numbers, booleans; 4 KB as JSON). Multipart forms send it as a JSON string. Echoed in the job and its webhook events.
audioUrl string no An https link we download the recording from, instead of uploading it (for example a presigned storage link). Any account. Same size limit as an upload; up to 3 redirects; private addresses are refused. Send it in a JSON body with no file and no uploadId.

TranscriptionJob#

Field Type Required Notes
_id string yes Job id.
displayName string | null no The name the customer gave the job (null: the original name is shown). — may be null
status string yes pending, active, and the end states completed, failed, cancelled.
stage string no
progress number no
originalFilename string no
durationSeconds number no
sourceLanguage string no
targetLanguage string no
detectedLanguage string | null no may be null
speakerCount integer | null no may be null
translationSkipped boolean no
sourcePreview string no First 600 characters of the transcript. Only on GET /api/v1/transcription/jobs/{id}.
translationPreview string no First 600 characters of the translation.
cost object | null no Price of a media job, in Fara. — may be null
cost.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
cost.minutesBilled number no Billed minutes, for media jobs.
cost.heldFara number no Fara held when the job started.
cost.refundedFara number no Part of the hold returned after the actual charge.
customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
createdAt string | null no may be null
updatedAt string | null no may be null

TranscriptionJobList#

Field Type Required Notes
jobs object[] yes
jobs[]._id string yes Job id.
jobs[].displayName string | null no The name the customer gave the job (null: the original name is shown). — may be null
jobs[].status string yes pending, active, and the end states completed, failed, cancelled.
jobs[].stage string no
jobs[].progress number no
jobs[].originalFilename string no
jobs[].durationSeconds number no
jobs[].sourceLanguage string no
jobs[].targetLanguage string no
jobs[].detectedLanguage string | null no may be null
jobs[].speakerCount integer | null no may be null
jobs[].translationSkipped boolean no
jobs[].sourcePreview string no First 600 characters of the transcript. Only on GET /api/v1/transcription/jobs/{id}.
jobs[].translationPreview string no First 600 characters of the translation.
jobs[].cost object | null no Price of a media job, in Fara. — may be null
jobs[].cost.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
jobs[].cost.minutesBilled number no Billed minutes, for media jobs.
jobs[].cost.heldFara number no Fara held when the job started.
jobs[].cost.refundedFara number no Part of the hold returned after the actual charge.
jobs[].customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
jobs[].createdAt string | null no may be null
jobs[].updatedAt string | null no may be null

TranscriptionPricing#

Field Type Required Notes
faraPerMin number no
faraPerMinWithTranslation number no
maxDurationSeconds integer no
audioMaxBytes integer no
targetLanguages string[] no Allowed targetLanguage values; none means no translation.

TranslationHistory#

Field Type Required Notes
jobs object[] yes
jobs[].jobId string no
jobs[].filename string no
jobs[].displayName string | null no The name the customer gave the job (null: the original name is shown). — may be null
jobs[].createdAt string | null no may be null
jobs[].updatedAt string | null no may be null
jobs[].status string no
jobs[].executionMode string no
jobs[].totalChunks integer | null no Chunks in the job, when known. — may be null
jobs[].completedChunks integer | null no Chunks finished so far, when known. — may be null
jobs[].pageCount integer | null no Pages in the PDF, when known. — may be null
jobs[].paragraphCount integer no
jobs[].englishWordCount integer no
jobs[].farsiWordCount integer no
jobs[].outputsGenerated boolean no
jobs[].hasLinkedInPosts boolean no
jobs[].hasSlides boolean no
jobs[].hasMindmap boolean no
jobs[].hasSummary boolean no
jobs[].hasPodcast boolean no
jobs[].hasAudiobook boolean no
total integer yes
page integer yes
totalPages integer yes

TranslationJob#

Reads short-lived job data first: an analyzed job older than 24 hours, or a failed or cancelled job without output after its short-lived data expired, answers 404 here. GET /api/v1/translate/status/{jobId} reads the long-lived job record and answers for every job you have not deleted.

Field Type Required Notes
jobId string yes
status string yes analyzed (priced, not started), pending, processing, translating, batch_submitted, batch_waiting, batch_results_received, validating (only on jobs started before economy delivery was removed), images_waiting (the text is done; the pictures wait for your choice, see POST /api/v1/jobs/{jobId}/images), and the end states completed, completed_partial, failed, cancelled. Treat any other value as still running.
filename string | null no may be null
fileId string no Id of the stored original PDF.
sourceFormat string | null no Only for a Word or EPUB upload: docx or epub, the format the PDF was made from. Null for a PDF upload. — may be null
pageCount integer | null no may be null
outputPageCount integer | null no may be null
wordCount integer | null no may be null
charCount integer | null no may be null
quality string | null no may be null
workflow string | null no may be null
availableWorkflows string[] no
executionMode string no one of: economy_batch, realtime
economyBatchStage string | null no Economy jobs: progress detail. Display only. — may be null
economyBatchStatus string | null no Economy jobs: progress detail. Display only. — may be null
translationMode string no Economy tier: economy or standard. Absent on jobs stored before the Economy tier. — one of: economy, standard
keepLayout boolean no Economy tier: the page-design tick. Economy jobs have it off.
summary boolean no Economy tier: the book-summary tick.
noSummary boolean no Standard only: true when the translation was started without the book summary. Standard makes the summary unless this is set.
expectedBy integer | null no Economy jobs only: the promised time as ms since 1970-01-01 UTC. Null otherwise. — may be null
canSwitchToStandard boolean no Economy tier: true when this failed Economy job can be switched to Standard (the retry call with translationMode: "standard"). Always false otherwise.
economyFailure string | null no Economy tier: why this failed Economy job failed, in words the customer may see: incomplete (part of the text could not be read), extraction (the file could not be read in full) or unavailable (Economy was not available). Null for any other job. — one of: incomplete, extraction, unavailable, null; may be null
totalChunks integer no
completedChunks integer no
progress integer no 0-100.
processingStage string | null no extracting, preparing, translating, or null. Display only. — may be null
translationStep integer | null no Rough progress marker while translating. Display only; use progress for how far the job is. — may be null
createdAt string | null no may be null
updatedAt string | null no may be null
completedAt string | null no may be null
error string | null no Always null for API keys. — may be null
errorCode string | null no Always null for API keys. Use customerErrorCode. — may be null
customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
outputs object | null no Present once the job is completed or completed_partial. Download with GET /api/v1/translate/download/{jobId}/{type}. — may be null
outputs.docx string | null no Set when a DOCX exists. — may be null
outputs.pdf string | null no Set when a PDF exists. — may be null
hasFailedChunks boolean no
failedChunkCount integer no
hasEmptyChunks boolean no
emptyChunkCount integer no
hasQualityWarnings boolean no
qualitySummary object | null no Quality summary. Informational. — may be null
outputWarnings object[] no Informational notes about the output files.
outputWarningCount integer no
userRetryCount integer no
retryLocked boolean no
adminReviewRequired boolean no
reviewReasonCode string | null no may be null
images object | null no Only while status is images_waiting. Can be null for a moment after a choice or a cancel, or when the record cannot be read; then read it again.
source string no Internal detail. Ignore.

TranslationJobList#

Field Type Required Notes
jobs object[] yes
jobs[].jobId string yes
jobs[].status string yes analyzed (priced, not started), pending, processing, translating, batch_submitted, batch_waiting, batch_results_received, validating (only on jobs started before economy delivery was removed), images_waiting (the text is done; the pictures wait for your choice, see POST /api/v1/jobs/{jobId}/images), and the end states completed, completed_partial, failed, cancelled. Treat any other value as still running.
jobs[].filename string | null no may be null
jobs[].pageCount integer | null no may be null
jobs[].outputPageCount integer | null no Pages in the Persian PDF, once made. — may be null
jobs[].wordCount integer | null no may be null
jobs[].charCount integer | null no may be null
jobs[].quality string | null no may be null
jobs[].workflow string | null no may be null
jobs[].availableWorkflows string[] no
jobs[].executionMode string no one of: economy_batch, realtime
jobs[].economyBatchStage string | null no Economy jobs: progress detail. Display only. — may be null
jobs[].economyBatchStatus string | null no Economy jobs: progress detail. Display only. — may be null
jobs[].translationMode string no Economy tier: economy or standard. Absent on jobs stored before the Economy tier. — one of: economy, standard
jobs[].keepLayout boolean no Economy tier: the page-design tick. Economy jobs have it off.
jobs[].summary boolean no Economy tier: the book-summary tick.
jobs[].noSummary boolean no Standard only: true when the translation was started without the book summary. Standard makes the summary unless this is set.
jobs[].expectedBy integer | null no Economy jobs only: the promised time as ms since 1970-01-01 UTC. Null otherwise. — may be null
jobs[].canSwitchToStandard boolean no Economy tier: present for jobs that stored options. True when this failed Economy job can be switched to Standard (the retry call with translationMode: "standard"). False while the job is locked for retry, for anyone but an admin.
jobs[].economyFailure string | null no Economy tier: why this failed Economy job failed, in words the customer may see: incomplete (part of the text could not be read), extraction (the file could not be read in full) or unavailable (Economy was not available). Null for any other job. — one of: incomplete, extraction, unavailable, null; may be null
jobs[].totalChunks integer no
jobs[].completedChunks integer no
jobs[].progress integer no 0-100.
jobs[].processingStage string | null no extracting, preparing, translating, or null. Display only. — may be null
jobs[].translationStep integer | null no Rough progress marker while translating. Display only; use progress for how far the job is. — may be null
jobs[].createdAt string | null no may be null
jobs[].updatedAt string | null no may be null
jobs[].completedAt string | null no may be null
jobs[].error string | null no Always null for API keys. — may be null
jobs[].errorCode string | null no Always null for API keys. Use customerErrorCode. — may be null
jobs[].customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
jobs[].hasFailedChunks boolean no
jobs[].failedChunkCount integer no
jobs[].hasEmptyChunks boolean no
jobs[].emptyChunkCount integer no
jobs[].hasQualityWarnings boolean no
jobs[].qualityWarningCount integer no
jobs[].outputWarnings object[] no Always empty for API keys.
jobs[].outputWarningCount integer no
jobs[].userRetryCount integer no
jobs[].retryLocked boolean no True when no more retries are possible from your side.
jobs[].adminReviewRequired boolean no
jobs[].reviewReasonCode string | null no may be null
total integer yes
page integer yes
totalPages integer yes
limit integer no

TranslationStatus#

Field Type Required Notes
jobId string yes
status string yes analyzed (priced, not started), pending, processing, translating, batch_submitted, batch_waiting, batch_results_received, validating (only on jobs started before economy delivery was removed), images_waiting (the text is done; the pictures wait for your choice, see POST /api/v1/jobs/{jobId}/images), and the end states completed, completed_partial, failed, cancelled. Treat any other value as still running.
filename string | null no may be null
pageCount integer | null no may be null
outputPageCount integer | null no may be null
wordCount integer | null no may be null
charCount integer | null no may be null
paragraphCount integer | null no may be null
quality string | null no may be null
workflow string | null no may be null
availableWorkflows string[] no
estimatedPrice number no Estimated price in Fara. Before start: the fast price. After start: the price of the chosen delivery.
estimatedPriceEconomy number | null no Only while analyzed. Kept for old clients; every translation runs fast, so use estimatedPrice. — may be null
executionMode string no one of: economy_batch, realtime
translationMode string no Economy tier: economy or standard. Absent on jobs stored before the Economy tier. — one of: economy, standard
keepLayout boolean no Economy tier: the page-design tick. Economy jobs have it off.
summary boolean no Economy tier: the book-summary tick.
noSummary boolean no Standard only: true when the translation was started without the book summary. Standard makes the summary unless this is set.
expectedBy integer | null no Economy jobs only: the promised time as ms since 1970-01-01 UTC. Null otherwise. — may be null
canSwitchToStandard boolean no Economy tier: true when this failed Economy job can be switched to Standard (the retry call with translationMode: "standard"). Always false otherwise.
economyFailure string | null no Economy tier: why this failed Economy job failed, in words the customer may see: incomplete (part of the text could not be read), extraction (the file could not be read in full) or unavailable (Economy was not available). Null for any other job. — one of: incomplete, extraction, unavailable, null; may be null
translateImages boolean no Whether the text inside images is translated for this job (the choice sent at start; true before start).
targetLanguage string no The language the job translates into (fa unless another language was sent at start). — one of: fa, en, ar, de, fr, es, ru, tr, zh
sourceLanguageNotice string no Present only as persian for a document in Persian (see the analysis). — one of: persian
suggestedTargetLanguage string no A document in Persian waiting at the price screen only: the language to offer first (the free preview's language for the rest of a previewed book, else en). — one of: en, ar, de, fr, es, ru, tr, zh
pageRangeOffer object | null no On a whole-file job while the page-range feature is on: the chapters offered for POST /api/v1/translate/{jobId}/page-range. Absent on a part and while the feature is off. — may be null
pageRangeOffer.pageCount integer no Pages in the file.
pageRangeOffer.chapters array | null no Chapters from the PDF outline, in order. Null when the PDF has no usable outline. — may be null
pageRange object | null no On a part of a file: the pages it covers. Absent on a whole file. — may be null
pageRange.from integer no First page of the part (1-based).
pageRange.to integer no Last page of the part (1-based, inclusive).
pageRange.totalPages integer | null no Pages in the whole file. — may be null
pageRange.sourceJobId string | null no The job the part was cut from, or null for an upload. — may be null
imageTranslation object | null no Translating the text inside images (charts, diagrams, infographics). The number of images with text is known only after the document is read, so the price is per image and is added to the charge. Switch it off with translateImages: false at start. — may be null
imageTranslation.available boolean no True when image translation can be chosen for this document.
imageTranslation.default boolean no True: it is on unless the start request sends translateImages: false.
imageTranslation.pricePerImage number no Expected price in Fara of one image that has text to translate. Images without text cost nothing.
totalChunks integer no
completedChunks integer no
processingStage string | null no extracting, preparing, translating, or null. Display only. — may be null
translationStep integer | null no Rough progress marker while translating. Display only; use progress for how far the job is. — may be null
progress integer no 0-100.
createdAt string | null no may be null
completedAt string | null no may be null
error string | null no Always null for API keys. — may be null
errorCode string | null no Always null for API keys. Use customerErrorCode. — may be null
customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
userRetryCount integer no
retryLocked boolean no
adminReviewRequired boolean no
reviewReasonCode string | null no may be null
outputs object | null no may be null
outputs.docx string | null no may be null
outputs.pdf string | null no may be null
hasEmptyChunks boolean no
emptyChunkCount integer no
emptyChunkNumbers integer[] no
hasFailedChunks boolean no
failedChunkCount integer no
failedChunkNumbers integer[] no
images object | null no Only while status is images_waiting. Can be null for a moment after a choice or a cancel, or when the record cannot be read; then read it again.
retryableChunkCount integer no
retryableChunkNumbers integer[] no
failedChunksDetail object[] no One entry per section that did not translate.
failedChunksDetail[].chunkNumber integer no
failedChunksDetail[].error string no Text for logs. Do not parse. Not always present.
failedChunksDetail[].isTimeout boolean no
failedChunksDetail[].isCircuitOpen boolean no
failedChunksDetail[].retryable boolean no
failedChunksDetail[].failedAt string no Not always present.
hasQualityWarnings boolean no
qualitySummary object | null no Quality summary. — may be null
qualityFlaggedChunkNumbers integer[] no
outputWarnings object[] no Always empty for API keys.
outputWarningCount integer no
source string no Internal detail. Ignore.
freePreviewOffer object | null no The free first pages: each verified account may translate the first pages of one PDF free, once. Only while analyzed; null otherwise or when switched off. — may be null
freePreviewOffer.available boolean no True when this account can translate the first pages of this document free now.
freePreviewOffer.pages integer no How many leading pages are free.
freePreviewOffer.freePages integer no Free pages of this document (fewer when the document is shorter).
freePreviewOffer.wholeDocument boolean no The whole document fits in the free pages.
freePreviewOffer.reason string | null no Why it is not available: disabled, not_verified, used, rest_of_preview, or null. — may be null
freePreview object | null no On a free preview job; null on other jobs. — may be null
freePreview.pages integer | null no Free pages translated. — may be null
freePreview.totalPages integer | null no Pages in the whole document. — may be null
freePreview.hasRest boolean no The document has pages after the free part.
freePreview.restEstimatedPrice number | null no About what the rest costs, in Fara, at the default delivery. — may be null
freePreview.restJobId string | null no The job made by POST /api/v1/translate/{jobId}/translate-rest, once made. — may be null
previewOf string | null no On the rest of a previewed book: the free preview job it follows. — may be null

UploadRequest#

Field Type Required Notes
file file yes The PDF (up to 100 MB). When Word and EPUB input is on, a .docx or EPUB file is accepted too.
pageFrom string no Applies when the page-range feature is on (otherwise ignored): first page to translate, 1-based. Give it with pageTo; the file is cut to these pages before analysis, and the job is a part of the file.
pageTo string no Applies when the page-range feature is on (otherwise ignored): last page to translate, 1-based, inclusive.
quality string no Deprecated. It no longer changes the result; the translation keeps the tone of the source. Still accepted. — one of: simple, medium, highest
workflow string no Translation workflow. Leave out for the default.

UploadResponse#

Field Type Required Notes
jobId string yes
workflow string no
availableWorkflows string[] no
message string no
totalChunks integer no
status string yes pending.

UploadSession#

Field Type Required Notes
uploadId string yes Upload id (upl_...). Send it as uploadId when you create the job.
purpose string no one of: meeting, transcription, video
filename string no
size integer no The whole file's size in bytes.
chunkSize integer yes Bytes in every chunk except the last.
totalChunks integer yes How many chunks make the file. Indexes run from 0 to totalChunks - 1.
received integer[] yes Indexes of the chunks that have arrived, in order. After a lost connection, send only the others.
status string no open (taking chunks), or used (a job was made from it). — one of: open, used
jobId string | null no The job made from this upload, once status is used. — may be null
createdAt string | null no may be null
expiresAt string | null yes When an unused upload and its chunks are deleted (24 hours after it started). — may be null

UploadStartRequest#

Field Type Required Notes
purpose string yes What the file will make: meeting (POST /api/v1/meetings/jobs), transcription (POST /api/v1/transcription/jobs) or video (POST /api/v1/video/jobs). — one of: meeting, transcription, video
filename string no The file's name (up to 255 characters). Kept as the job's file name.
contentType string no Optional. An audio or video type, for example audio/mp4. The file itself is checked when the job is created.
size integer yes The whole file's size in bytes, at most 1073741824. — min 1
sha256 string no Optional. SHA-256 of the whole file, 64 hex characters. When given, the joined file is checked against it when the job is created.
chunkSize integer no Optional. Bytes per chunk, from 262144 (256 KB) to 8388608 (8 MB, the default). Ask for smaller chunks on a slow or unstable line, so each chunk is sent before the line drops. Out of range answers 400 BAD_REQUEST with minChunkSize and maxChunkSize. — min 262144; max 8388608

UsageStats#

Field Type Required Notes
totals object no
totals.totalTranslations integer no
totals.completedTranslations integer no
totals.totalWords integer no
totals.totalCost number no Fara.
totals.totalParagraphs integer no
monthly object[] no Last 12 months.
monthly[].year integer no
monthly[].month integer no
monthly[].translations integer no
monthly[].words integer no
monthly[].cost number no

VideoCreateRequest#

Send url or uploadId. Add startSeconds / endSeconds to translate only part of the video; the hold and the price cover that part.

Field Type Required Notes
url string no YouTube link. Send this or uploadId, not both.
uploadId string no A finished chunked upload of a video file (purpose: video): MP4, MOV, MKV, WebM or AVI with a sound track. A refused create leaves the upload open, so it can be used again.
outputMode string yes farsi_subs (Persian subtitles), farsi_voice (Persian voice), or farsi_voice_subs (both). — one of: farsi_subs, farsi_voice, farsi_voice_subs
voiceSet string no Voice set, required for voice modes. A key of voices from GET /api/v1/video/voices. — one of: standard, premium
voiceId string no A voice id from catalog in GET /api/v1/video/voices (for example female-warm), or male / female for that gender's default. Any other value is refused. Default male. When dubbing in the speaker's own voice, only its gender is used, for speakers that cannot be copied.
voiceGender string no Used when voiceId is left out. — one of: male, female
voiceMood string no Mood of the Persian voice and translation. auto (default) takes it from what is said in the video. Ignored for farsi_subs. — one of: auto, neutral, friendly, formal, happy, sad, calm, energetic, serious
downloadQuality string no Source video quality for a YouTube link. Default best. Ignored for an upload. — one of: best, 360p, 480p, 720p, 1080p
voiceCloneMode string no source keeps the speaker's own voice (needs voiceSet: "premium" and voiceCloneConsent: true). Default stock. — one of: stock, source
voiceCloneConsent boolean no You confirm you have the right to reuse the speaker's voice.
songDubbing boolean no When a dubbed video contains a song, sing it again in Persian with the translated lyrics. Spoken lines stay spoken. Default false. Ignored for farsi_subs. The hold is the withSongDubbing price from the estimate; you pay only for songs that were sung. 409 SONG_DUBBING_UNAVAILABLE when it is not offered right now. Same as songMode: "mixed".
songMode string no off (default): songs are spoken like the rest. mixed: songs found in the video are sung in Persian and speech stays spoken. song_only: the whole video is a song; every line is sung and no song detection runs. Wins over songDubbing. Priced and held like songDubbing: true. Ignored for farsi_subs. — one of: off, mixed, song_only
burnCaptions boolean no Draw subtitles into the picture. False gives a separate captions track.
reviewBeforeRender boolean no Stop for review before the final video. Leave out to use your saved preference.
startSeconds number no Optional. Start of the part to translate, in whole seconds from the start of the video. Leave out to start at 0. The part must be at least 5 seconds and inside the video. A range that covers the whole video is the same as no range. Errors: 400 INVALID_VIDEO_RANGE, VIDEO_RANGE_OUT_OF_BOUNDS, VIDEO_RANGE_TOO_SHORT.
endSeconds number no Optional. End of the part to translate, in whole seconds from the start of the video. Leave out to run to the end. Must be after startSeconds.

VideoCreateResponse#

Field Type Required Notes
jobId string yes
cost object | null no Price of a media job, in Fara. — may be null
cost.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
cost.minutesBilled number no Billed minutes, for media jobs.
cost.heldFara number no Fara held when the job started.
cost.refundedFara number no Part of the hold returned after the actual charge.

VideoEstimate#

Prices for each output type: subtitles only, dubbed voice with each voice set, and the premium set dubbed in the speaker's own voice (voiceCloneMode: "source").

Field Type Required Notes
title string no
durationSeconds number no Length that is priced: the selected part, or the whole video when no range was sent.
sourceDurationSeconds number no Length of the whole video.
startSeconds number | null no Start of the selected part; null for the whole video. — may be null
endSeconds number | null no End of the selected part; null for the whole video. — may be null
sourceVoiceMinSeconds number no Shortest length, in seconds, that can be copied for the speaker's own voice (voiceCloneMode: "source"). A shorter part (or whole video) cannot use that option.
costSubtitles object | null no Price of a media job, in Fara. — may be null
costSubtitles.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
costSubtitles.minutesBilled number no Billed minutes, for media jobs.
costSubtitles.heldFara number no Fara held when the job started.
costSubtitles.refundedFara number no Part of the hold returned after the actual charge.
costStandardVoice object | null no Price of a media job, in Fara. — may be null
costStandardVoice.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
costStandardVoice.minutesBilled number no Billed minutes, for media jobs.
costStandardVoice.heldFara number no Fara held when the job started.
costStandardVoice.refundedFara number no Part of the hold returned after the actual charge.
costPremiumVoice object | null no Price of a media job, in Fara. — may be null
costPremiumVoice.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
costPremiumVoice.minutesBilled number no Billed minutes, for media jobs.
costPremiumVoice.heldFara number no Fara held when the job started.
costPremiumVoice.refundedFara number no Part of the hold returned after the actual charge.
costClonedVoice object | null no Price of a media job, in Fara. — may be null
costClonedVoice.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
costClonedVoice.minutesBilled number no Billed minutes, for media jobs.
costClonedVoice.heldFara number no Fara held when the job started.
costClonedVoice.refundedFara number no Part of the hold returned after the actual charge.
withSongDubbing object no The same dubbed-voice prices with songDubbing: true. This is what the create call holds. Missing when song dubbing is not offered right now; a create with songDubbing: true then answers 409 SONG_DUBBING_UNAVAILABLE.
withSongDubbing.costStandardVoice object | null no Price of a media job, in Fara. — may be null
withSongDubbing.costStandardVoice.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
withSongDubbing.costStandardVoice.minutesBilled number no Billed minutes, for media jobs.
withSongDubbing.costStandardVoice.heldFara number no Fara held when the job started.
withSongDubbing.costStandardVoice.refundedFara number no Part of the hold returned after the actual charge.
withSongDubbing.costPremiumVoice object | null no Price of a media job, in Fara. — may be null
withSongDubbing.costPremiumVoice.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
withSongDubbing.costPremiumVoice.minutesBilled number no Billed minutes, for media jobs.
withSongDubbing.costPremiumVoice.heldFara number no Fara held when the job started.
withSongDubbing.costPremiumVoice.refundedFara number no Part of the hold returned after the actual charge.
withSongDubbing.costClonedVoice object | null no Price of a media job, in Fara. — may be null
withSongDubbing.costClonedVoice.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
withSongDubbing.costClonedVoice.minutesBilled number no Billed minutes, for media jobs.
withSongDubbing.costClonedVoice.heldFara number no Fara held when the job started.
withSongDubbing.costClonedVoice.refundedFara number no Part of the hold returned after the actual charge.

VideoEstimateRequest#

Send url or uploadId.

Field Type Required Notes
url string no YouTube link. Send this or uploadId, not both.
uploadId string no A finished chunked upload of a video file (purpose: video). Reading it does not use it up.
startSeconds number no Optional. Start of the part to translate, in whole seconds from the start of the video. Leave out to start at 0. The part must be at least 5 seconds and inside the video. A range that covers the whole video is the same as no range. Errors: 400 INVALID_VIDEO_RANGE, VIDEO_RANGE_OUT_OF_BOUNDS, VIDEO_RANGE_TOO_SHORT.
endSeconds number no Optional. End of the part to translate, in whole seconds from the start of the video. Leave out to run to the end. Must be after startSeconds.

VideoJobEnvelope#

Field Type Required Notes
job object yes
job._id string yes Job id.
job.displayName string | null no The name the customer gave the job (null: the original name is shown). — may be null
job.status string yes pending, active, awaiting_review (waiting for your edits and approval), retrying, finalizing, pending_finalization, and the end states completed, failed, cancelled. Treat any other value as still running.
job.stage string no Rough step, for progress display.
job.progress number no 0-100.
job.sourceType string no Where the video came from. — one of: youtube, upload
job.sourceUrl string no The YouTube link. Null for an upload.
job.originalFilename string no The uploaded file's name. Null for a YouTube link.
job.videoTitle string no
job.durationSeconds number no Length that is processed and priced: the selected part, or the whole video.
job.sourceDurationSeconds number no Length of the whole source video.
job.startSeconds number | null no Start of the selected part in seconds; null when the whole video is translated. — may be null
job.endSeconds number | null no End of the selected part in seconds; null when the whole video is translated. — may be null
job.outputMode string no
job.songDubbing boolean no True when songs in this video are sung again in Persian.
job.songMode string no How songs are handled. — one of: off, mixed, song_only
job.voiceGender string | null no may be null
job.voiceKey string | null no The chosen stock voice id. — may be null
job.voiceMood string | null no The chosen mood, or auto. — may be null
job.detectedMood string | null no With auto: the mood taken from the video, once it is known. — may be null
job.downloadQuality string no
job.reviewBeforeRender boolean no
job.reviewVersion integer no Send as If-Match when editing or approving the review.
job.reviewAutoContinueAt string | null no While awaiting_review: when review continues by itself if you do not act. Null when it never does. — may be null
job.reviewAutoContinuedAt string | null no When review continued by itself, if it did. — may be null
job.translationSegments object[] no Present while in review and after.
job.translationSegments[].id string no
job.translationSegments[].start number no
job.translationSegments[].end number no
job.translationSegments[].text string no Original text.
job.translationSegments[].farsi string no Persian text you can edit.
job.translationSegments[].translationMissing boolean no
job.cost object | null no Price of a media job, in Fara. — may be null
job.cost.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
job.cost.minutesBilled number no Billed minutes, for media jobs.
job.cost.heldFara number no Fara held when the job started.
job.cost.refundedFara number no Part of the hold returned after the actual charge.
job.customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
job.createdAt string | null no may be null
job.updatedAt string | null no may be null

VideoJobList#

Field Type Required Notes
jobs object[] yes
jobs[]._id string yes Job id.
jobs[].displayName string | null no The name the customer gave the job (null: the original name is shown). — may be null
jobs[].status string yes pending, active, awaiting_review (waiting for your edits and approval), retrying, finalizing, pending_finalization, and the end states completed, failed, cancelled. Treat any other value as still running.
jobs[].stage string no Rough step, for progress display.
jobs[].progress number no 0-100.
jobs[].sourceType string no Where the video came from. — one of: youtube, upload
jobs[].sourceUrl string no The YouTube link. Null for an upload.
jobs[].originalFilename string no The uploaded file's name. Null for a YouTube link.
jobs[].videoTitle string no
jobs[].durationSeconds number no Length that is processed and priced: the selected part, or the whole video.
jobs[].sourceDurationSeconds number no Length of the whole source video.
jobs[].startSeconds number | null no Start of the selected part in seconds; null when the whole video is translated. — may be null
jobs[].endSeconds number | null no End of the selected part in seconds; null when the whole video is translated. — may be null
jobs[].outputMode string no
jobs[].songDubbing boolean no True when songs in this video are sung again in Persian.
jobs[].songMode string no How songs are handled. — one of: off, mixed, song_only
jobs[].voiceGender string | null no may be null
jobs[].voiceKey string | null no The chosen stock voice id. — may be null
jobs[].voiceMood string | null no The chosen mood, or auto. — may be null
jobs[].detectedMood string | null no With auto: the mood taken from the video, once it is known. — may be null
jobs[].downloadQuality string no
jobs[].reviewBeforeRender boolean no
jobs[].reviewVersion integer no Send as If-Match when editing or approving the review.
jobs[].reviewAutoContinueAt string | null no While awaiting_review: when review continues by itself if you do not act. Null when it never does. — may be null
jobs[].reviewAutoContinuedAt string | null no When review continued by itself, if it did. — may be null
jobs[].translationSegments object[] no Present while in review and after.
jobs[].translationSegments[].id string no
jobs[].translationSegments[].start number no
jobs[].translationSegments[].end number no
jobs[].translationSegments[].text string no Original text.
jobs[].translationSegments[].farsi string no Persian text you can edit.
jobs[].translationSegments[].translationMissing boolean no
jobs[].cost object | null no Price of a media job, in Fara. — may be null
jobs[].cost.faraCharged number no Fara for this job: the held amount while running, the actual charge once finished.
jobs[].cost.minutesBilled number no Billed minutes, for media jobs.
jobs[].cost.heldFara number no Fara held when the job started.
jobs[].cost.refundedFara number no Part of the hold returned after the actual charge.
jobs[].customerErrorCode string | null no Why the job failed, as a stable code. Null while the job is fine. — one of: NO_TEXT_LAYER, FILE_TOO_LARGE, TOO_MANY_PAGES, MEDIA_TOO_LONG, TOOK_TOO_LONG, PARTIAL_SECTIONS, INSUFFICIENT_CREDITS, SPEND_LIMIT_REACHED, SERVICE_BUSY, YOUTUBE_UNAVAILABLE, NO_SPEECH_FOUND, VOICE_CONSENT_REQUIRED, RETRY_LIMIT_REACHED, UNDER_REVIEW, OUTLINE_NO_MATERIAL, DOCUMENT_NO_MATERIAL, OUTLINE_EMPTY, RECOVERY_LIMIT, UNSUPPORTED_FILE_TYPE, DOCUMENT_PROTECTED, INVALID_DOCUMENT, DOCUMENT_CONVERSION_INCOMPLETE, DOCUMENT_CONVERSION_FAILED, GENERIC, null; may be null
jobs[].createdAt string | null no may be null
jobs[].updatedAt string | null no may be null

VideoPreferences#

Field Type Required Notes
preferences object no
preferences.reviewBeforeRender boolean no Stop at awaiting_review before the final video is made.
reviewAutoContinueSeconds integer no If you do not act, review continues by itself after this many seconds (0 = never).

VideoVoices#

Field Type Required Notes
voices object no Voice sets by voiceSet key (standard, premium). Each voice has id, gender and label.
catalog object[] no Every stock voice. Send its id as voiceId.
catalog[].id string yes Voice id, for example female-warm.
catalog[].gender string yes one of: male, female
catalog[].labelFa string no Name in Persian.
catalog[].labelEn string no Name in English.
catalog[].lineFa string no One-line description in Persian.
catalog[].lineEn string no One-line description in English.
catalog[].previewUrl string no Path of a short Persian sample (MP3) on this site.
catalog[].default boolean no The voice used for this gender when you send only male or female.
moods object[] no Moods. Send an id as voiceMood.
moods[].id string yes one of: neutral, friendly, formal, happy, sad, calm, energetic, serious
moods[].labelFa string no
moods[].labelEn string no

VoiceCatalog#

Field Type Required Notes
voices object[] yes
voices[].id string yes Voice id, for example female-warm.
voices[].gender string yes one of: male, female
voices[].labelFa string no Name in Persian.
voices[].labelEn string no Name in English.
voices[].lineFa string no One-line description in Persian.
voices[].lineEn string no One-line description in English.
voices[].previewUrl string no Path of a short Persian sample (MP3) on this site.
voices[].default boolean no The voice used for this gender when you send only male or female.
moods object[] yes
moods[].id string yes one of: neutral, friendly, formal, happy, sad, calm, energetic, serious
moods[].labelFa string no
moods[].labelEn string no

WebhookDelivery#

Field Type Required Notes
id string yes Delivery id. Also the pagination cursor.
eventId string yes Same as the webhook-id header.
eventType string yes
status string yes pending, succeeded, or failed.
attempts integer no
nextAttemptAt string | null no may be null
lastAttemptAt string | null no may be null
lastResponseStatus integer | null no may be null
lastError string | null no may be null
createdAt string | null no may be null

WebhookDeliveryPage#

One page of deliveries, newest first. Kept for 30 days.

Field Type Required Notes
data object[] yes
data[].id string yes Delivery id. Also the pagination cursor.
data[].eventId string yes Same as the webhook-id header.
data[].eventType string yes
data[].status string yes pending, succeeded, or failed.
data[].attempts integer no
data[].nextAttemptAt string | null no may be null
data[].lastAttemptAt string | null no may be null
data[].lastResponseStatus integer | null no may be null
data[].lastError string | null no may be null
data[].createdAt string | null no may be null
hasMore boolean yes True when there are more items after this page.
nextCursor string | null yes Pass as startingAfter to get the next page. Null on the last page. — may be null

WebhookEndpoint#

Field Type Required Notes
id string yes
url string yes
description string no
events string[] yes Event types sent to this endpoint. ["*"] means all.
enabled boolean yes
disabledReason string | null no disabled_by_user, endpoint_gone (answered 410), or failing_for_days. — may be null
createdAt string | null no may be null
updatedAt string | null no may be null
lastSuccessAt string | null no may be null
lastFailureAt string | null no may be null

WebhookEndpointCreateRequest#

Field Type Required Notes
url string yes Public https URL that will receive events.
events string[] no Event types to send. Default ["*"] (all).
description string no Up to 200 characters.

WebhookEndpointList#

Field Type Required Notes
data object[] yes
data[].id string yes
data[].url string yes
data[].description string no
data[].events string[] yes Event types sent to this endpoint. ["*"] means all.
data[].enabled boolean yes
data[].disabledReason string | null no disabled_by_user, endpoint_gone (answered 410), or failing_for_days. — may be null
data[].createdAt string | null no may be null
data[].updatedAt string | null no may be null
data[].lastSuccessAt string | null no may be null
data[].lastFailureAt string | null no may be null

WebhookEndpointUpdateRequest#

Field Type Required Notes
url string no
events string[] no
description string no
enabled boolean no Turn the endpoint off or back on. Turning it on clears the failure count.

WebhookEndpointWithSecret#

Field Type Required Notes
id string yes
url string yes
description string no
events string[] yes Event types sent to this endpoint. ["*"] means all.
enabled boolean yes
disabledReason string | null no disabled_by_user, endpoint_gone (answered 410), or failing_for_days. — may be null
createdAt string | null no may be null
updatedAt string | null no may be null
lastSuccessAt string | null no may be null
lastFailureAt string | null no may be null
secret string yes Signing secret, whsec_ + base64. Shown only in this response. Store it safely.

WebhookEventTypes#

Field Type Required Notes
data string[] yes

WebhookTestResult#

Field Type Required Notes
deliveryId string no
eventId string no
delivered boolean no True when your endpoint answered 2xx.
responseStatus integer | null no may be null
error string | null no may be null