Seeds / Generate Context
Generate Context
Generate a formatted context string from search results optimized for LLM consumption. Takes search results and formats them with source attribution, relevance scores, and proper structure for RAG (Retrieval-Augmented Generation) applications.
POST
{baseAPIUrl}/seeds/generate-contextAuthentication
Required. Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| appId | string | Required | Application identifier |
| externalUserId | string | Required | External user identifier |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| seedIds | string[] | Optional | Specific seed IDs to include |
| bundleIds | string[] | Optional | Bundle IDs to include all seeds from |
| model | string | Optional | Target model for token limits |
Try It
Query Parameters
Application identifier
External user identifier
Request Body
Specific seed IDs to include
Bundle IDs to include all seeds from
Target model for token limits (e.g., "gpt-4")