HttpExchangeRead
Fields
15 fields
captured_at· required- string (date-time)
duration_ms- integer or null
endpoint· required- string
error- string or null
host- string or null
method· required- string
redacted· required- boolean
request· required- HttpMessageRead
response· required- HttpMessageRead
response_schema_state· required- string
seq· required- integer
source· required- string
started_at- string (date-time) or null
status- integer or null
url· required- string
Raw schema (JSON)
{
"properties": {
"captured_at": {
"format": "date-time",
"title": "Captured At",
"type": "string"
},
"duration_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Duration Ms"
},
"endpoint": {
"title": "Endpoint",
"type": "string"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error"
},
"host": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Host"
},
"method": {
"title": "Method",
"type": "string"
},
"redacted": {
"title": "Redacted",
"type": "boolean"
},
"request": {
"$ref": "#/components/schemas/HttpMessageRead"
},
"response": {
"$ref": "#/components/schemas/HttpMessageRead"
},
"response_schema_state": {
"title": "Response Schema State",
"type": "string"
},
"seq": {
"title": "Seq",
"type": "integer"
},
"source": {
"title": "Source",
"type": "string"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Started At"
},
"status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Status"
},
"url": {
"title": "Url",
"type": "string"
}
},
"required": [
"seq",
"method",
"endpoint",
"url",
"request",
"response",
"response_schema_state",
"source",
"captured_at",
"redacted"
],
"title": "HttpExchangeRead",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
GET/api/v1/runs/{run_id}/tests/{test_id}/http-exchanges— Get Test Case Http Exchanges
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON