TypeScript
Reference
Request and response TypeScript types from @context212/sdk.
Type reference for the models exported by @context212/sdk. Use these tables when wiring request bodies and handling responses.
Import these types from @context212/sdk (for example import type { AskRequest } from "@context212/sdk"). Full endpoint schemas live in the API reference.
Client
ClientOptions
Prop
Type
Ask
AskRequest
Prop
Type
AskResponse
Prop
Type
AskData
Options shape passed to ask (body wraps AskRequest).
Prop
Type
Search
SearchRequest
Prop
Type
SearchResponse
Prop
Type
SearchData
Options shape passed to search.
Prop
Type
Files
BodyFilesCreate
Body for filesCreate.
Prop
Type
Extract
ExtractRequest
Prop
Type
ExtractData
Options shape passed to extract.
Prop
Type