Others

Others related APIs

List Audit Logs

get
/webapi/v2/audit/logs

Get audit logs with filtering and pagination.

Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
createdAtstring · date-timeOptional

Base timestamp (UTC)

beforeRangeinteger · min: 1 · max: 31Optional

Days before created_at (max 31 days)

Default: 31
emailany ofOptional

Agent email filter

stringOptional
or
nullOptional
apiRequestTypeany ofOptional

API request type (rest/graphql)

stringOptional
or
nullOptional
offsetintegerOptional

Offset for pagination

Default: 0
limitinteger · min: 1 · max: 1000Optional

Limit for pagination

Default: 10
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json

Response model for audit log list.

countintegerRequired

Total count

get
/webapi/v2/audit/logs
200

OK

Download Audit Logs

get
/webapi/v2/audit/logs/download

Download all audit logs as CSV file.

Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
createdAtstring · date-timeOptional

Base timestamp (UTC)

beforeRangeinteger · min: 1 · max: 31Optional

Days before created_at (max 31 days)

Default: 31
emailany ofOptional

Agent email filter

stringOptional
or
nullOptional
apiRequestTypeany ofOptional

API request type (rest/graphql)

stringOptional
or
nullOptional
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

No content

get
/webapi/v2/audit/logs/download
200

OK

No content

List LLM Prompts

get
/webapi/v2/llm_prompts

List custom LLM prompts in the project with pagination and ordering.

Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
offsetintegerOptional

Offset of the LLM prompts

Default: 0
limitintegerOptional

Limit of the LLM prompts

Default: 100
orderstring · enumOptionalPossible values:
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json
llmPromptIdstringRequired

Unique ID of the LLM prompt

namestringRequired

Name of the LLM prompt

descriptionany ofOptional

Description of the LLM prompt

stringOptional
or
nullOptional
get
/webapi/v2/llm_prompts
200

OK

Create LLM Prompt

post
/webapi/v2/llm_prompts

Create a custom LLM prompt with messages and dynamic input variables.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
nameany ofRequired

Name of the LLM prompt

stringOptional
or
nullOptional
descriptionany ofOptional

Description of the LLM prompt

stringOptional
or
nullOptional
messagesany ofOptional

Messages of the LLM prompt

or
nullOptional
dynamicInputsany ofOptional

Dynamic inputs of the LLM prompt

or
nullOptional
Responses
200

OK

application/json
llmPromptIdstringRequired

Unique ID of the LLM prompt

namestringRequired

Name of the LLM prompt

descriptionany ofOptional

Description of the LLM prompt

stringOptional
or
nullOptional
post
/webapi/v2/llm_prompts
200

OK

Get LLM Prompt

get
/webapi/v2/llm_prompts/{llm_prompt_id}

Retrieve a single LLM prompt by ID.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
llm_prompt_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json
llmPromptIdstringRequired

Unique ID of the LLM prompt

namestringRequired

Name of the LLM prompt

descriptionany ofOptional

Description of the LLM prompt

stringOptional
or
nullOptional
get
/webapi/v2/llm_prompts/{llm_prompt_id}
200

OK

Delete LLM Prompt

delete
/webapi/v2/llm_prompts/{llm_prompt_id}

Soft-delete an LLM prompt. Fails if the prompt is currently used by a campaign.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
llm_prompt_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

No content

delete
/webapi/v2/llm_prompts/{llm_prompt_id}
200

OK

No content

Update LLM Prompt

patch
/webapi/v2/llm_prompts/{llm_prompt_id}

Partially update an LLM prompt. Only provided fields are changed.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
llm_prompt_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
nameany ofRequired

Name of the LLM prompt

stringOptional
or
nullOptional
descriptionany ofOptional

Description of the LLM prompt

stringOptional
or
nullOptional
messagesany ofOptional

Messages of the LLM prompt

or
nullOptional
dynamicInputsany ofOptional

Dynamic inputs of the LLM prompt

or
nullOptional
Responses
200

OK

application/json
llmPromptIdstringRequired

Unique ID of the LLM prompt

namestringRequired

Name of the LLM prompt

descriptionany ofOptional

Description of the LLM prompt

stringOptional
or
nullOptional
patch
/webapi/v2/llm_prompts/{llm_prompt_id}
200

OK

Trigger Directory Integration

post
/webapi/v2/directory_integration/trigger

Trigger directory integration for the specified path or folder.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body

Request entity for triggering directory integration.

directory_pathany ofOptional

Path to directory to integrate

stringOptional
or
nullOptional
folder_idany ofOptional

ID of folder to sync

stringOptional
or
nullOptional
Responses
200

OK

application/json

Response entity for directory integration trigger.

successbooleanRequired

Whether the integration was successfully triggered

messagestringRequired

Response message

task_idany ofOptional

Task ID for tracking the operation

stringOptional
or
nullOptional
post
/webapi/v2/directory_integration/trigger
200

OK

Get App Call Statistics

get
/webapi/v2/analytics/app_statistic_history

Get LLM app call history statistics by period.

Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
startDatestringRequired

Start date in YYYY-MM-DD format

endDatestringRequired

End date in YYYY-MM-DD format

metricNamestring · enumOptionalPossible values:
llmAppIdany ofOptional

LLM app ID

stringOptional
or
nullOptional
llmAppCategoryany ofOptional

LLM app category

stringOptional
or
nullOptional
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json

Response model for usage history statistics.

get
/webapi/v2/analytics/app_statistic_history
200

OK

Get LLM Call Statistics

get
/webapi/v2/analytics/llm_statistic_history

Get LLM call history statistics by period.

Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
startDatestringRequired

Start date in YYYY-MM-DD format

endDatestringRequired

End date in YYYY-MM-DD format

metricNamestring · enumOptionalPossible values:
llmModelany ofOptional

LLM model

stringOptional
or
nullOptional
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json

Response model for usage history statistics.

get
/webapi/v2/analytics/llm_statistic_history
200

OK

Get Media Content

post
/webapi/v2/multimodal/media-content

Retrieve the content of a stored media item as a base64-encoded string. The media_id corresponds to the ID returned by the upload_media endpoint. Returns null content if the media is not found for the authenticated project. Requires API-KEY header for authentication.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body

Request body for retrieving media content.

media_idstringRequired

The ID of the media to retrieve content for.

media_typestring · enumOptional

The type of media to retrieve.

Default: imagePossible values:
Responses
200

OK

application/json

Response containing base64-encoded media content.

contentany ofRequired

Base64-encoded media content, or null if the media was not found.

stringOptional
or
nullOptional
post
/webapi/v2/multimodal/media-content
200

OK

Generate File

post
/webapi/v2/multimodal/generate-file

Convert markdown content into a downloadable document (PDF, DOCX, PPTX, or XLSX). Returns the file name and download URL on success, or error details on failure. Requires API-KEY header for authentication.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body

Request body for generating a downloadable file.

userIdstringRequired

ID of the user requesting file generation.

titlestringRequired

Title of the generated document.

fileFormatstring · enumRequired

Output file format.

Possible values:
markdownTextstringRequired

Markdown content to convert into the document.

Responses
200

OK

application/json

Response containing the generated file location or error details.

fileNameany ofOptional

Name of the generated file.

stringOptional
or
nullOptional
fileUrlany ofOptional

Download URL of the generated file.

stringOptional
or
nullOptional
errorany ofOptional

Error code, present only on failure.

stringOptional
or
nullOptional
errorMessageany ofOptional

Human-readable error description.

stringOptional
or
nullOptional
post
/webapi/v2/multimodal/generate-file
200

OK

Get Synonyms

post
/webapi/v2/synonyms/

Return synonym targets and their synonyms for the given questions in the project.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
questionsstring[]Required
Responses
200

OK

application/json
post
/webapi/v2/synonyms/
200

OK

Get Project

get
/webapi/v2/projects

Return the project identified by the API-KEY.

Ralli uses this to get project info (id, name, cognitiveSearchApiKey) after login.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json
itemsanyOptional
get
/webapi/v2/projects
200

OK

Get Credit Balance

get
/webapi/v2/credits/balance

Return the project's credit balance summary.

Trial info and monthly cap info are always project-cumulative. When both startDate and endDate are supplied, totalCreditUsage is the sum consumed within that range and byCategory provides the per-category breakdown for the same range. Without dates, totalCreditUsage is the project lifetime cumulative usage.

Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
startDateany ofOptional

Start date (UTC, inclusive) in YYYY-MM-DD. Required together with endDate.

Example: 2025-04-01
stringOptionalPattern: ^\d{4}-\d{2}-\d{2}$
or
nullOptional
endDateany ofOptional

End date (UTC, inclusive) in YYYY-MM-DD. Required together with startDate.

Example: 2025-04-30
stringOptionalPattern: ^\d{4}-\d{2}-\d{2}$
or
nullOptional
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json

Response body for GET /webapi/v2/credits/balance.

totalCreditUsagenumberRequired

Cumulative credit consumed by the project across all time.

Example: 1234.5
byCategoryany ofOptional

Per-category credit usage between startDate and endDate. Keys are LLMCreditUsageCategory values (qna_auto_generation, summary, custom, generative_answer, generative_answer_with_google, llmnode, deep_research, single_action, document_ingestion, document_ingestion_embedding, document_ingestion_azure_layout, document_ingestion_image_description, document_ingestion_table_description, document_ingestion_mineru, faq_search, mrc_search, translation, api_integration, chat_agent, works_agent, others). Absent when no date range is supplied.

Example: {"api_integration":12.5,"generative_answer":50}
or
nullOptional
get
/webapi/v2/credits/balance
200

OK

Summary Analytics

get
/webapi/summary_analytics

Provides various summarized analytics information for your project.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
startDatestringOptional

Start of range of dates to query in YYYY-MM-DD format.

endDatestringOptional

End of range of dates to query in YYYY-MM-DD format.

Responses
200

Successfully retrieved analytics data

application/json
errorsobject · nullableOptional
get
/webapi/summary_analytics
200

Successfully retrieved analytics data

Last updated