Skip to main content
POST

Advanced Example

Configure structured output with output_schema to receive data in a specific JSON schema format, and optionally add webhook notifications.

Authorizations

x-api-key
string
header
required

Body

application/json
query
string
required
Example:

"Tell me about the latest news, product updates, press releases, social media announcements, investments into, or other relevant information about Yutori, the AI company."

output_schema
Output Schema · object | null

JSON Schema for structured output. Takes precedence over task_spec if both provided.

Example:
task_spec
TaskSpec · object | null
deprecated

Deprecated but still supported. Use output_schema instead.

used_deprecated_task_spec
boolean
default:false
output_interval
integer
default:86400
Example:

3600

start_timestamp
integer
default:0
Example:

0

user_timezone
string
default:America/Los_Angeles
Example:

"America/Los_Angeles"

user_location
string | null
default:San Francisco, CA, US
Example:

"San Francisco, CA, US"

skip_email
boolean
default:true
Example:

true

webhook_url
string | null

Optional webhook URL to receive updates for this scout. Creates a webhook subscription for the calling user using webhook_format.

Example:

null

webhook_format
enum<string>
default:scout

Webhook payload format to use when webhook_url is provided. Slack incoming webhook URLs require 'slack'.

Available options:
scout,
slack,
zapier
Example:

"scout"

is_public
boolean
default:false

Response

Successful Response

Public API response for scout creation. Excludes internal fields like llm_output.

id
string<uuid>
required
query
string
required
display_name
string
required
next_run_timestamp
string<date-time> | null
required
user_timezone
string
required
next_output_timestamp
string<date-time> | null
required
created_at
string<date-time>
required
completed_at
string<date-time> | null
required
paused_at
string<date-time> | null
required
output_schema
Output Schema · object | null
required

JSON Schema for structured output, if configured

query_object
Query Object · object | null
rejection_reason
enum<string> | null
Available options:
insufficient_prepaid_balance,
budget_exceeded,
subscription_inactive
is_public
boolean
default:false
view_url
string | null

URL to view this scout's details in the API platform dashboard.

webhook_url
string | null

Optional webhook URL configured for this scout, if provided at creation time.