Download OpenAPI specification:
User account management. Owns the users table; exposes internal fan-out endpoints consumed by knowledgebase-service and qa-service.
| darkTheme | boolean |
| language | string [ 2 .. 5 ] characters |
{- "darkTheme": true,
- "language": "strin"
}{- "darkTheme": true,
- "language": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "oidcSubject": "string",
- "username": "string",
- "email": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "preferences": {
- "darkTheme": true,
- "language": "string"
}
}| id required | string <uuid> |
| label | string |
{- "label": "string"
}{- "code": "string",
- "fieldErrors": [
- {
- "field": "string",
- "message": "string"
}
], - "message": "string"
}| file required | string <binary> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ownerSubject": "string",
- "fileName": "string",
- "objectKey": "string",
- "fileType": "string",
- "fileSize": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document": { },
- "content": "string",
- "generatedAt": "2019-08-24T14:15:22Z",
- "modelUsed": "string",
- "status": "PENDING",
- "errorMessage": "string"
}, - "extractedEntities": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document": { },
- "name": "string",
- "type": "PERSON",
- "confidence": 0.1
}
], - "tags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "source": "AUTO",
- "documents": [
- { }
]
}
], - "entitiesStatus": "PENDING",
- "tagsStatus": "PENDING"
}| fileName | string |
| objectKey | string |
| fileType | string |
| fileSize | integer <int64> |
| textContent | string |
{- "fileName": "string",
- "objectKey": "string",
- "fileType": "string",
- "fileSize": 0,
- "textContent": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ownerSubject": "string",
- "fileName": "string",
- "objectKey": "string",
- "fileType": "string",
- "fileSize": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document": { },
- "content": "string",
- "generatedAt": "2019-08-24T14:15:22Z",
- "modelUsed": "string",
- "status": "PENDING",
- "errorMessage": "string"
}, - "extractedEntities": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document": { },
- "name": "string",
- "type": "PERSON",
- "confidence": 0.1
}
], - "tags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "source": "AUTO",
- "documents": [
- { }
]
}
], - "entitiesStatus": "PENDING",
- "tagsStatus": "PENDING"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ownerSubject": "string",
- "fileName": "string",
- "objectKey": "string",
- "fileType": "string",
- "fileSize": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document": { },
- "content": "string",
- "generatedAt": "2019-08-24T14:15:22Z",
- "modelUsed": "string",
- "status": "PENDING",
- "errorMessage": "string"
}, - "extractedEntities": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document": { },
- "name": "string",
- "type": "PERSON",
- "confidence": 0.1
}
], - "tags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "source": "AUTO",
- "documents": [
- { }
]
}
], - "entitiesStatus": "PENDING",
- "tagsStatus": "PENDING"
}| id required | string <uuid> |
| fileName | string |
{- "fileName": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ownerSubject": "string",
- "fileName": "string",
- "objectKey": "string",
- "fileType": "string",
- "fileSize": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document": { },
- "content": "string",
- "generatedAt": "2019-08-24T14:15:22Z",
- "modelUsed": "string",
- "status": "PENDING",
- "errorMessage": "string"
}, - "extractedEntities": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document": { },
- "name": "string",
- "type": "PERSON",
- "confidence": 0.1
}
], - "tags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "source": "AUTO",
- "documents": [
- { }
]
}
], - "entitiesStatus": "PENDING",
- "tagsStatus": "PENDING"
}| q required | string |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "fileName": "string",
- "fileType": "string",
- "fileSize": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}| q required | string |
| limit | integer <int32> [ 1 .. 50 ] Default: 10 |
{- "results": [
- {
- "document": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "fileName": "string",
- "fileType": "string",
- "fileSize": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}, - "score": 0.1,
- "snippet": "string"
}
], - "fallbackUsed": true
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ownerSubject": "string",
- "fileName": "string",
- "objectKey": "string",
- "fileType": "string",
- "fileSize": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "summary": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document": { },
- "content": "string",
- "generatedAt": "2019-08-24T14:15:22Z",
- "modelUsed": "string",
- "status": "PENDING",
- "errorMessage": "string"
}, - "extractedEntities": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document": { },
- "name": "string",
- "type": "PERSON",
- "confidence": 0.1
}
], - "tags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "source": "AUTO",
- "documents": [
- { }
]
}
], - "entitiesStatus": "PENDING",
- "tagsStatus": "PENDING"
}
]| subject required | string |
| objectKeys | Array of strings |
{- "objectKeys": [
- "string"
]
}[- {
- "objectKey": "string",
- "documentId": "string",
- "fileName": "string"
}
]| question required | string [ 1 .. 1500 ] characters |
{- "question": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userSubject": "string",
- "question": "string",
- "answer": "string",
- "citations": [
- {
- "marker": 0,
- "objectKey": "string",
- "documentId": "string",
- "fileName": "string",
- "snippet": "string"
}
], - "timestamp": "2019-08-24T14:15:22Z",
- "modelUsed": "string"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userSubject": "string",
- "question": "string",
- "answer": "string",
- "citations": [
- {
- "marker": 0,
- "objectKey": "string",
- "documentId": "string",
- "fileName": "string",
- "snippet": "string"
}
], - "timestamp": "2019-08-24T14:15:22Z",
- "modelUsed": "string"
}
]Answer a question from chunks retrieved for the given documents.
The question is embedded and matched against the indexed chunks scoped to the requested object keys; the answer cites the documents its chunks came from.
| objectKeys required | Array of strings (Objectkeys) |
| question required | string (Question) |
{- "objectKeys": [
- "string"
], - "question": "string"
}{- "answer": "string",
- "citations": [
- {
- "marker": 0,
- "objectKey": "string",
- "snippet": "string"
}
], - "modelUsed": "string"
}Extract named entities from the document stored under the given object key.
| maxEntities | integer (Maxentities) [ 1 .. 100 ] Default: 20 |
| objectKey required | string (Objectkey) |
{- "maxEntities": 20,
- "objectKey": "string"
}{- "entities": [
- {
- "confidence": 0,
- "name": "string",
- "type": "string"
}
], - "modelUsed": "string",
- "truncated": false
}Chunk, embed, and index the document at the given object key into Weaviate.
Re-indexing the same key replaces its existing chunks, so the call is safe to repeat (e.g. when Spring re-processes a document).
| objectKey required | string (Objectkey) |
{- "objectKey": "string"
}{- "chunksIndexed": 0,
- "embeddingModel": "string",
- "objectKey": "string"
}Remove all indexed chunks for the document at the given object key.
Idempotent: deleting a document that was never indexed removes nothing and still returns 200. The :path converter keeps object keys that contain slashes intact.
| object_key required | string (Object Key) |
{- "chunksDeleted": 0,
- "objectKey": "string"
}Rank indexed documents by semantic similarity to the query.
The query is embedded and matched against the indexed chunks scoped to the requested object keys; chunk hits are rolled up to one entry per document, each carrying the closest chunk's snippet and a relevance score.
| limit | integer (Limit) [ 1 .. 50 ] Default: 10 |
| objectKeys required | Array of strings (Objectkeys) |
| query required | string (Query) <= 1500 characters |
{- "limit": 10,
- "objectKeys": [
- "string"
], - "query": "string"
}{- "embeddingModel": "string",
- "results": [
- {
- "chunkIndex": 0,
- "objectKey": "string",
- "score": 0,
- "snippet": "string"
}
]
}Summarize the document stored under the given object key.
| objectKey required | string (Objectkey) |
{- "objectKey": "string"
}{- "modelUsed": "string",
- "summary": "string",
- "truncated": false
}Assign content-based topical tags to the document stored under the given object key.
| knownTags | Array of strings (Knowntags) Default: [] |
| objectKey required | string (Objectkey) |
{- "knownTags": [ ],
- "objectKey": "string"
}{- "modelUsed": "string",
- "tags": [
- "string"
], - "truncated": false
}