LlmAnswers

get/llm-answers/answer

Request

  • Base URL: https://scrappa.co/api
  • URL: https://scrappa.co/api/llm-answers/answer
  • Auth: API key in header X-API-KEY

Query parameters

promptstring required

The question or instruction, 1 to 4000 characters. Alias: q.

qstring nullable

Prompt text (1-4000 characters). Alias for prompt.

modelstring nullable

Model id from the models endpoint. Defaults to auto.

timezonestring nullable

IANA timezone such as Europe/Berlin. Defaults to UTC. Used for questions about the current time.

localestring nullable

Language hint such as en-US or de-DE.

role'user' | 'assistant' required
textstring required

Earlier turns of the conversation, up to 20 messages, sent as history[0][role]=user&history[0][text]=... with role user or assistant, oldest first. The service keeps no conversation between requests, so send the earlier turns to ask a follow-up.

Response

string required

Changes

No recorded changes to this operation across all 3 revisions of this API.