Refine security md
Queue a refinement of this Security.md on the workspace's own model keys.
POST
Queue a refinement of this Security.md on the workspace's own model keys.
workspaceTokenheader
AuthorizationBearer <vat_<opaque-token>>Expiring, hashed workspace token with explicit scopes.
workspace_id*Workspace IdFormat
uuidapplication/json- body
compliance?array<>Items
items <= 5include_workspace_context?Include Workspace ContextDefault
truerisk_appetite?Risk AppetiteDefault
"moderate"Value in
"low""moderate""high"stack?array<string>Items
items <= 12target*TargetValue in
"claude_skill""cursor_rules""codex_agents""copilot_instructions""windsurf_rules""security_md"use_case*Use CaseValue in
"web_app""api""mobile_backend""iac_cloud""ai_agent""data_pipeline""ci_cd"Successful Response
application/json- response
completed_at?|nullcreated_at*Created AtFormat
date-timedropped_rules?Dropped RulesProposed rules left out: uncited, repeated or not plain policy.
Default
0error_code?string|nullfile?|The refined file, once the refinement succeeded.
id*IdFormat
uuidrules?array<>rules_without_room?Rules Without RoomSupported rules the format had no room for without losing a rule it already had (Windsurf reads at most 6,000 characters).
Default
0started_at?|nullstatus*StatusValue in
"queued""running""succeeded""failed"curl -X POST 'https://api.veriom.ai/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/tools/security-md/refinements' \ -H 'Content-Type: application/json' \ -d '{ "target": "claude_skill", "use_case": "web_app"}'Example Response
{ "completed_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "dropped_rules": 0, "error_code": "string", "file": { "content": "string", "filename": "string", "media_type": "text/markdown", "path": "string", "sha256": "string", "shortened": true, "target": "claude_skill", "target_label": "string" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "rules": [ { "evidence_ids": [ "string" ], "subject": "string", "text": "string" } ], "rules_without_room": 0, "started_at": "2019-08-24T14:15:22Z", "status": "queued"}