Skip to main content
GET
/
api
/
triples
Query triples
curl --request GET \
  --url https://neode.ai/api/triples \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "subject": "<string>",
      "predicate": "<string>",
      "object": "<string>",
      "object_type": "literal",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "confidence": 0.5,
      "source": "<string>",
      "graph_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "index_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "subject_entity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "object_entity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "count": 123
}

Authorizations

Authorization
string
header
required

API key for authentication

Query Parameters

Full-text search across subject, predicate, and object

subject
string

Filter by exact subject match

graph_id
string<uuid>

Filter by graph ID

subject_entity_id
string<uuid>

Filter by subject entity ID

object_entity_id
string<uuid>

Filter by object entity ID

predicate
string

Filter by predicate (can be repeated for multiple predicates)

limit
integer
default:50

Maximum number of results

Required range: x <= 500

Response

Successful response

success
boolean
data
object[]
count
integer