Skip to main content

Auth and API Testing

Woes can store source auth configuration and run guarded endpoint tests so support teams can validate API behavior while keeping credentials out of source content and model context.

Auth Principles

  • Credentials are configured separately from documentation content.
  • Secret values are never returned in plaintext.
  • Test execution applies credentials server-side only.
  • Results are sanitized before display.
  • Unsafe or uncontrolled targets should be blocked by route-level safeguards.

Configure Source Auth

1

Open the source

Go to Context and open the API source.
2

Open auth settings

Choose the auth type and fill the required fields.
3

Save safely

Leaving a secret field unchanged should preserve the stored secret.
4

Run a test

Use a safe endpoint and inspect the status, latency, sanitized headers, sanitized body, and validation details.

Test Result Fields

FieldMeaning
StatusHTTP status returned by the target or a safe failure state.
LatencyTime spent on the request.
HeadersSanitized response headers.
BodySanitized response body or parse error.
ValidationWhether the result matched expected route behavior.
ErrorUser-readable failure without leaking credentials.
Use non-production credentials or safe fixture endpoints whenever possible. Never paste API secrets into documentation pages, support messages, or agent prompts.