Skip to main content
POST
Get Links Report

Authorizations

X-API-Key
string
header
required

Query Parameters

project_id
string

Required if using a company api key

Example:

"or_f45b94ba-5e35-4982-93ed-285e72ee14eb"

Body

project_id
string

Required if using a company api key

Example:

"or_f45b94ba-5e35-4982-93ed-285e72ee14eb"

limit
integer
default:1000
Required range: 1 <= x <= 10000
offset
integer
default:0
Required range: 0 <= x <= 9007199254740991
start_date
string<date>
default:2026-01-01

full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Example:

"2025-09-22"

end_date
string<date>
default:2026-01-01

full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Example:

"2025-09-22"

dimensions
enum<string>[]

Dimensions to break down the report by. url breaks each linked domain down into the pages linked.

Available options:
prompt_id,
model_id,
model_channel_id,
tag_id,
topic_id,
date,
week,
month,
country_code,
chat_id,
url
Example:
filters
object[]

Row filters applied before aggregation. Allowed fields: model_id (deprecated), model_channel_id, country_code, prompt_id, tag_id, topic_id, chat_id, domain, url. Population fields (model/country/prompt/tag/topic/chat) shrink both the linked chats and total_chat_count; domain and url narrow the linked chats only. Multiple filters are AND'd.

Deprecated: use model_channel_id filter instead

Example:
order_by
object[]

Sort results by one or more fields. Multiple entries create a multi-key sort. Direction defaults to desc. When omitted, a default ordering is applied.

Example:

Response

200 - application/json

Success

Success

data
object[]
required