Connector Data
Connector data represents the knowledge base documents attached to an assessment - the data sources candidates can search during the task. Documents can be marked as signal (useful) or left as noise (distractors) to test candidate discernment.Gradient builds the data room of each assessment. The endpoints that create, upload, rename, update, or delete connector data accept only Gradient staff sessions. Other callers, API keys included, get
403. The read endpoints work for any org member.List Available Connectors
Response
Response
Each item is the assessment’s stored
ConnectorConfig. Note id is the connector’s own identifier; the type field is what holds the connector kind (e.g. "enterprise_search"). source is always "builtin" (a packaged fake connector).List Connector Data
Response
Response
Get Connector Data Item
Response
Response
Create Connector Data
Array of file objects with
title, content, and optional metadata. (A legacy name key is still read as a fallback, but title is canonical.)Response - 201 Created
Response - 201 Created
Upload Connector Data File
.docx, .pptx, .xlsx, .csv, or .pdf) into a connector. The file is dual-stored: the real bytes go to the private documents Storage bucket, and its extracted plain text is saved to data_files[].content for search.
Two targeting modes:
- Pass
connectorIdto append the file to an existing connector’s file list. - Omit
connectorIdand passconnectorType(+ optionalconnectorName) to create a new connector row with this as its first file.
multipart/form-data
Response - 201 Created
Response - 201 Created
Delete File From Connector
Response
Response
Rename / Toggle Signal on a File
Response
Response
Update Connector Data
Response
Response
Delete Connector Data
Response
Response