Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
tag_data
Tag · object
required
pattern_description
string
required
examples
string[] | null
negative_examples
string[] | null
edge_case_context
string | null
positive_test_cases
TestCase · object[] | null
negative_test_cases
TestCase · object[] | null
validate_before_return
boolean
default:true
document_context
string | null
current_wrong_result
string | null
previous_attempts
Previous Attempts · object[] | null
context_type
string | null
context_payload
Context Payload · object | null
evidence_examples
EvidenceExample · object[] | null

Response

Successful Response

regex
string
required
explanation
string | null
validation_results
Validation Results · object | null
confidence_score
number | null
suggested_improvements
string[] | null
context_items
string[] | null
inferred_intent
string | null
required_context_matches
integer | null