InfoPreview
Endpoint added: POST /v1/systemone
openapi:POST /v1/systemone::operation.endpoint-added- Product
- DigitalOcean API
- Source
- OpenAPI URL
- Change kind
- Endpoint Added
- Detected
- Last updated
Deterministic evidence
Before / after
Extracted from DigitalOcean's published contract. Shows the whole operation — a narrower excerpt was not available for this change. Open the source ↗
null
{
"operationId": "inference_create_systemone",
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"model": {
"type": "string"
},
"questions": {
"additionalProperties": {
"properties": {
"criteria": {
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"instructions": {
"type": "string"
},
"type": {
"enum": [
"noul",
"choice",
"score"
],
"type": "string"
}
},
"required": [
"type",
"instructions"
],
"type": "object"
},
"type": "object"
},
"state": {
"type": "string"
}
},
"required": [
"state",
"model",
"questions"
],
"type": "object"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"answers": {
"additionalProperties": {
"properties": {
"choice": {
"type": "string"
},
"confidence": {
"format": "double",
"type": "number"
},
"legend": {
"additionalProperties": true,
"type": "object"
},
"noul": {
"format": "double",
"type": "number"
},
"probabilities": {
"additionalProperties": {
"format": "double",
"type": "number"
},
"type": "object"
},
"score": {
"format": "double",
"type": "number"
},
"type": {
"enum": [
"noul",
"choice",
"score"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"type": "object"
},
"model": {
"type": "string"
},
"usage": {
"properties": {
"input_tokens": {
"format": "int64",
"minimum": 0,
"type": "integer"
},
"output_tokens": {
"format": "int64",
"minimum": 0,
"type": "integer"
}
},
"required": [
"input_tokens",
"output_tokens"
],
"type": "object"
}
},
"required": [
"model",
"answers",
"usage"
],
"type": "object"
}
}
},
"headers": {
"ratelimit-limit": {
"$ref": "#/components/headers/ratelimit-limit"
},
"ratelimit-remaining": {
"$ref": "#/components/headers/ratelimit-remaining"
},
"ratelimit-reset": {
"$ref": "#/components/headers/ratelimit-reset"
}
}
},
"400": {
"$ref": "#/components/responses/bad_request"
},
"401": {
"$ref": "#/components/responses/unauthorized"
},
"403": {
"$ref": "#/components/responses/forbidden"
},
"422": {
"$ref": "#/components/responses/unprocessable_entity"
},
"424": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"headers": {
"ratelimit-limit": {
"$ref": "#/components/headers/ratelimit-limit"
},
"ratelimit-remaining": {
"$ref": "#/components/headers/ratelimit-remaining"
},
"ratelimit-reset": {
"$ref": "#/components/headers/ratelimit-reset"
}
}
},
"429": {
"$ref": "#/components/responses/too_many_requests"
},
"500": {
"$ref": "#/components/responses/server_error"
},
"502": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"headers": {
"ratelimit-limit": {
"$ref": "#/components/headers/ratelimit-limit"
},
"ratelimit-remaining": {
"$ref": "#/components/headers/ratelimit-remaining"
},
"ratelimit-reset": {
"$ref": "#/components/headers/ratelimit-reset"
}
}
},
"default": {
"$ref": "#/components/responses/unexpected_error"
}
},
"security": [
{
"inference_bearer_auth": []
}
],
"servers": [
{
"url": "https://inference.do-ai.run"
}
],
"tags": [
"Serverless Inference"
],
"x-codeSamples": [
{
"lang": "cURL",
"source": "curl -X POST \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n -d '{\n \"model\": \"typesafe-jev-1.13.0\",\n \"state\": \"The customer said the delivery was late but the product quality was excellent.\",\n \"questions\": {\n \"sentiment\": {\n \"type\": \"choice\",\n \"instructions\": \"What is the overall sentiment of this feedback?\",\n \"criteria\": {\n \"positive\": \"Customer is happy overall\",\n \"negative\": \"Customer is unhappy overall\",\n \"mixed\": \"Customer has both good and bad things to say\"\n }\n },\n \"needs_followup\": {\n \"type\": \"noul\",\n \"instructions\": \"Does this feedback require a follow-up from the support team?\"\n }\n }\n }' \\\n \"https://inference.do-ai.run/v1/systemone\""
},
{
"lang": "Python",
"source": "import os\nfrom pydo import Client\n\nclient = Client(token=os.environ.get(\"DIGITALOCEAN_TOKEN\"))\n\nresp = client.systemone.create(\n model=\"typesafe-jev-1.13.0\",\n state=\"The customer said the delivery was late but the product quality was excellent.\",\n questions={\n \"sentiment\": {\n \"type\": \"choice\",\n \"instructions\": \"What is the overall sentiment of this feedback?\",\n \"criteria\": {\n \"positive\": \"Customer is happy overall\",\n \"negative\": \"Customer is unhappy overall\",\n \"mixed\": \"Customer has both good and bad things to say\",\n },\n },\n \"needs_followup\": {\n \"type\": \"noul\",\n \"instructions\": \"Does this feedback require a follow-up from the support team?\",\n },\n },\n)\n\nprint(resp.answers[\"sentiment\"])"
},
{
"lang": "JavaScript",
"source": "import { InferenceClient } from \"@digitalocean/dots\";\n\nconst client = new InferenceClient({ apiKey: process.env.DIGITALOCEAN_TOKEN });\n\nconst result = await client.systemone.create({\n model: \"typesafe-jev-1.13.0\",\n state: \"The customer said the delivery was late but the product quality was excellent.\",\n questions: {\n sentiment: {\n type: \"choice\",\n instructions: \"What is the overall sentiment of this feedback?\",\n criteria: {\n positive: \"Customer is happy overall\",\n negative: \"Customer is unhappy overall\",\n mixed: \"Customer has both good and bad things to say\",\n },\n },\n needs_followup: {\n type: \"noul\",\n instructions: \"Does this feedback require a follow-up from the support team?\",\n },\n },\n});\n\nconsole.log(result.answers.sentiment);"
}
],
"x-inference-base-url": "https://inference.do-ai.run"
}
Monitored for you
Does this change affect your integration?
Choose the operations and fields your services use. Detektu matches DigitalOcean findings to that declared usage so your team can review the relevant evidence. No agent or repository access required.