generate
Label Existing Classification
Changed onLabel existing texts for classification tasks.
Args: request: Classification labeling request with texts and labels. auth: Authenticated user context.
Returns: GenerateResponse with classified samples and optional dataset info.
Raises: HTTPException: 400 if no valid inputs or dataset validation fails. HTTPException: 500 on labeling failure.
post/v1/generate/classification/label-existing
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info