/v1/api/workspace/describeAPI keyDescribe the binding
Ask which project this key opens, what reads as code, and what is never read.
Read this at run time rather than carrying your own copy. The skip lists and the per-file ceiling move with the reading pipeline, and a client that hardcodes them starts pushing bytes the server refuses.
`secretShapes` names the credential shapes no lane stores unasked. Skip them locally; a client that sends one anyway is refused per file rather than per push.
curl -X GET "https://runlog-7613480744.us-central1.run.app/v1/api/workspace/describe" \
-H "Authorization: Bearer $RUNLOG_API_KEY" \
-H "X-Project-Id: p7Kd2mQx"{
"codeExtensions": [
".go",
".ts",
".py"
],
"maxFileBytes": 2097152,
"projectId": "p7Kd2mQx",
"projectName": "Checkout",
"secretShapes": [
"private-key",
"cloud-credential"
],
"skippedDirectories": [
"node_modules",
".git"
],
"skippedExtensions": [
".lock"
],
"skippedNames": [
".DS_Store"
],
"version": 1
}Errors
| Status | error | When |
|---|---|---|
| 401 | unauthorized | No valid API key on the request. |