Skip to content

Resolve up to 500 identifiers in one request

POST
/v1/test-cases/resolve
curl --request POST \
--url https://beta-api.plune.ai/v1/test-cases/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "keys": [ { "kind": "example", "value": "example" } ] }'

What a reporter calls once for a whole run rather than once per test. Answers 200 with a null id for every key that matches nothing — a list of questions, each of which may be answered “no”.

Media type application/json
object
keys
required
Array<object>
>= 1 items <= 500 items
object
kind
string
value
required
string
Example generated
{
"keys": [
{
"kind": "example",
"value": "example"
}
]
}

One answer per key, in the order they were asked

Media type application/json
object
results
required
Array<object>
object
key
object
testCaseId
string
nullable
matchedKind
string
nullable
Example generated
{
"results": [
{
"key": {},
"testCaseId": "example",
"matchedKind": "example"
}
]
}

Empty batch, more than 500 keys, or a kind that does not exist

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Rate-limited: either the per-route throttle or a tenant quota. Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over