Memory hygiene sweep (duplicates / contradictions / injection / unscoped content)

post/api/v1/{context_id}/fsck

Path parameters

context_idstring required

Spectron context id

Request body

checkstring nullable
duplicateThresholdnumber float nullable
maxResultsinteger nullable

Response

totalinteger required

Changes

Changed in 3 of the 5 revisions of this API.168

    • added the non-success response with the status 503

      response-non-success-status-added

  • 52b41ab517b661See the full diff
    • added the new base64_instruction enum value to the injection/items/kind response property for the response status 200

      response-property-enum-value-added

    • added the new instruction_override enum value to the injection/items/kind response property for the response status 200

      response-property-enum-value-added

    • added the new prompt_template_injection enum value to the injection/items/kind response property for the response status 200

      response-property-enum-value-added

    • added the new role_override enum value to the injection/items/kind response property for the response status 200

      response-property-enum-value-added

    • added the new system_prompt_leak enum value to the injection/items/kind response property for the response status 200

      response-property-enum-value-added

    • added the new tool_override enum value to the injection/items/kind response property for the response status 200

      response-property-enum-value-added

    • added the required property unscopedContent to the response with the 200 status

      response-required-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the required property unscopedContent from the response with the 200 status

      response-required-property-removed

    • removed the base64_instruction enum value from the injection/items/kind response property for the response status 200

      response-property-enum-value-removed

    • removed the instruction_override enum value from the injection/items/kind response property for the response status 200

      response-property-enum-value-removed

    • removed the prompt_template_injection enum value from the injection/items/kind response property for the response status 200

      response-property-enum-value-removed

    • removed the role_override enum value from the injection/items/kind response property for the response status 200

      response-property-enum-value-removed

    • removed the system_prompt_leak enum value from the injection/items/kind response property for the response status 200

      response-property-enum-value-removed

    • removed the tool_override enum value from the injection/items/kind response property for the response status 200

      response-property-enum-value-removed

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog