Upload a new SDS document
Upload a PDF file to be processed by the SDS extraction pipeline. The document will be queued for AI-powered extraction of hazard data, composition, and compliance information. Returns immediately with a reference to track processing status.
Authorization
bearerAuth AuthorizationBearer <token>
Bearer token authentication. Use your API key as the token. Obtain from your NextSDS team settings.
In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.nextsds.com/v1/sds" \ -F file="string"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"status": "processing",
"message": "Document uploaded and queued for processing"
}{
"type": "https://api.nextsds.com/errors/bad-request",
"title": "Bad Request",
"status": 400,
"detail": "Request body is missing required field: file"
}{
"type": "https://api.nextsds.com/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid or missing X-API-Key header"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string"
}