
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "riveter",
"path": "/v1/run",
"method": "POST",
"body": {
"input": {
"domain": [
""
],
"company": [
""
]
},
"output": {
"ceo_name": {
"format": "",
"prompt": "",
"contexts": [
""
]
}
}
}
}'
{
"success": true,
"data": {
"status": "{status}",
"message": "{message}",
"run_key": "{run_key}",
"project_name": "{project_name}",
"project_uuid": "{project_uuid}",
"error_message": null,
"request_status": "{request_status}",
"completed_cells": 1,
"enrichment_name": "{enrichment_name}",
"enrichment_uuid": "{enrichment_uuid}",
"not_found_cells": 1,
"riveter_app_link": "{riveter_app_link}",
"completion_estimate": { … },
"total_cells_expected": 1
}
}
Example values, built from the documented fields.
The price changes with the values you send.
from$0.029625per call
Request-basedThe price depends on what you send. You see it before you run.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 100% success · 12,711 ms median · 30 days
About this endpoint
Copy link Define the structure of your output directly in the API request. This endpoint allows you to define both your input data and output configuration in a single request.
Query parameters
run_keystringCustom identifier for this run (optional, will be generated if not provided)Body parameters
inputrequiredobjectThe input object contains your source data: Keys are column/attribute names Values are arrays of strings (all arrays must be the same length) Maximum 1000 rows per request Example: {"company":["Stripe","Ramp"],"domain":["stripe.com","ramp.com"]} (every value array must be the same length).outputrequiredobjectThe output object defines what data you want to extract: Keys are the names of attributes you want to extract Each attribute requires: prompt: Instructions for finding/extracting this data contexts: Array of input or other output attribute names this depends on. Optional Output Configuration Each output attribute can optionally include: format: Data type ('number', 'json', 'url', 'text', 'email', 'tag', 'date', 'boolean') format_details: Format-specific configuration (varies by format type). For json format, you can provide either a description (string) or a schema (JSON Schema object) or both. tools: Array of tools to use (['web_search', 'web_scrape', 'query_pdf', 'query_image']) max_tool_calls: Number of tool calls allowed (0-10) run_when: When to run this extraction ('always', 'any_filled', 'all_filled') Example: {"ceo_name":{"prompt":"Find the company's CEO","contexts":["company"],"format":"text"}}.Response types
statusstringmessagestringrun_keystringcredits_usednumberproject_namestringproject_uuidstringrequest_statusstringcompleted_cellsnumberenrichment_namestringenrichment_uuidstringnot_found_cellsnumberriveter_app_linkstringtotal_cells_expectednumber