CyberRXN Docs
APIAPI reference

Observations of the same canonical transformation

POST /v1/reactions/lookup

POST /v1/reactions/lookup

API overview · OpenAPI

Authorization

This operation requires a bearer credential. The description defines additional role, scope or first-party-session restrictions; an API key does not grant those permissions by itself.

Request body

PropertyTypeRequiredDetails
reaction_smilesstringyesReaction SMILES; agents are not part of the identity.
limitintegernoMaximum records, from 1 to 100. Default: 10.
offsetintegernoZero-based pagination offset. Default: 0.
Full schema: LookupReactionRequest
{
  "properties": {
    "reaction_smiles": {
      "type": "string",
      "maxLength": 30000,
      "minLength": 1,
      "title": "Reaction Smiles",
      "description": "Reaction SMILES; agents are not part of the identity."
    },
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "title": "Limit",
      "description": "Maximum records, from 1 to 100.",
      "default": 10
    },
    "offset": {
      "type": "integer",
      "maximum": 1000000,
      "minimum": 0,
      "title": "Offset",
      "description": "Zero-based pagination offset.",
      "default": 0
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "reaction_smiles"
  ],
  "title": "LookupReactionRequest"
}

Responses

HTTPDetailsType
200Successful Responseapplication/json: LookupResult
401Unauthorizedapplication/problem+json: ProblemDetails
402Payment Requiredapplication/problem+json: ProblemDetails
403Forbiddenapplication/problem+json: ProblemDetails
408Request Timeoutapplication/problem+json: ProblemDetails
413Request Entity Too Largeapplication/problem+json: ProblemDetails
422Unprocessable Entityapplication/problem+json: ProblemDetails
429Too Many Requestsapplication/problem+json: ProblemDetails
502Bad Gatewayapplication/problem+json: ProblemDetails
503Service Unavailableapplication/problem+json: ProblemDetails

Response: LookupResult

PropertyTypeRequiredDetails
itemsObservation[]yes
limitintegeryes
offsetintegeryes
has_morebooleanyes
next_offsetinteger ∣ nullyes
matchstringyes
agents_used_in_identitybooleanyes
Full schema
{
  "properties": {
    "items": {
      "items": {
        "$ref": "#/components/schemas/Observation"
      },
      "type": "array",
      "title": "Items"
    },
    "limit": {
      "type": "integer",
      "title": "Limit"
    },
    "offset": {
      "type": "integer",
      "title": "Offset"
    },
    "has_more": {
      "type": "boolean",
      "title": "Has More"
    },
    "next_offset": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Offset"
    },
    "match": {
      "type": "string",
      "const": "exact_original_transformation",
      "title": "Match"
    },
    "agents_used_in_identity": {
      "type": "boolean",
      "title": "Agents Used In Identity"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "items",
    "limit",
    "offset",
    "has_more",
    "next_offset",
    "match",
    "agents_used_in_identity"
  ],
  "title": "LookupResult"
}

This page is generated from OpenAPI; examples are schemas, not a fabricated successful response.

Usage and billing · Structured errors

On this page