deepstack-api-v2-contracts / examples /api-key /valid-workspace-key.json
mcauduro's picture
DeepStack API v2 contracts, package 1be436ac1a7c (CC-BY-4.0), new version over 1e3bc19d329b
b650253 verified
Raw History Blame Contribute Delete
832 Bytes
{
"schema_version": "ml.v1",
"key_id": "key_1111222233334444",
"tenant_id": "tenant:deepstack-internal",
"workspace_id": "ws_0123456789abcdef0123",
"label": "FIXTURE desk key",
"scopes": [
"workspace:export.process",
"workspace:read"
],
"rights": {
"policy_version": "policy-r0",
"purposes": [
"read",
"process"
]
},
"quota": {
"per_minute": 30,
"per_day": 2000,
"concurrency": 2
},
"status": "active",
"phase": "pre_lock",
"hash": {
"algorithm": "pbkdf2-hmac-sha256",
"iterations": 20000,
"salt": "00000000000000000000000000000000",
"digest": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"created_at": "2026-10-29T15:00:00Z",
"expires_at": null,
"rotated_from": null,
"rotated_to": null,
"grace_until": null,
"revoked_at": null,
"revoked_reason": null
}