Skip to main content
POST
Extract source text

Authorizations

session
string
cookie
required

The session cookie set when you sign in to AgentHub or ModelHub in a browser. The cookie name shown here is illustrative. There are no API tokens for these endpoints.

Path Parameters

projectId
string<uuid>
required

Project id.

Body

application/json
kind
string
required
Allowed value: "text"
text
string
required
Required string length: 40 - 200000
label
string
Maximum string length: 200

Response

Extracted source and estimate.

data
object
required