अनुरोध
आज़माएँ
Available · MCP tool gcri.lab_protocol
GET/v1/gcri/org/labs/protocols/{id}
curl -s "https://api.therisk.global/v1/gcri/org/labs/protocols/1"const res = await fetch("https://api.therisk.global/v1/gcri/org/labs/protocols/1");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.therisk.global/v1/gcri/org/labs/protocols/1")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
{
"data": {},
"meta": {
"service": "string",
"version": "string",
"authority": "string",
"state": "string",
"provenance": {
"repository": "string",
"commit": "string",
"path": "string",
"sha256": "string",
"licence": "string"
}
}
} A protocol with its versions and experiment records (counts only, never participant names), read from the backend. Availability: Available.
प्राचल
प्राचल
idrequiredpath · string
Protocol id of the Labs register (an integer; the backend's own id, not a UNI)
Answers
प्रतिक्रियाएँ
- 200
Records with provenance
- 304Problem, RFC 9457
Not modified: the If-None-Match validator matched the current ETag
- 400Problem, RFC 9457
Bad request (BAD_PAGE, BAD_KIND, BAD_ID, BAD_STATE, BAD_JSON, BAD_BODY)
- 404Problem, RFC 9457
NOT_FOUND
- 429Problem, RFC 9457
RATE_LIMITED: open-tier rate limit
- 500Problem, RFC 9457
INTERNAL: unhandled error
- 502Problem, RFC 9457
UPSTREAM_ERROR: the backend answered an error
- 503Problem, RFC 9457
BACKEND_CONNECTION_OFF: the network backend connection is off; WEBHOOKS_OFF: this API has no webhook database (GCRI_API_DATABASE_URL is unset)
- 504Problem, RFC 9457
UPSTREAM_TIMEOUT: the backend did not answer in 5 seconds