Integration guide

Postman integration with Plugsky

Plugsky is a plain HTTPS JSON API, so Postman works for chat, streaming, embeddings and tool calling. No SDK is required.

Short answer. Explore Plugsky in Postman. Set base URL to https://api.plugsky.com/v1, store the key in an environment variable, and POST /chat/completions with a plugsky-* model ID.

What the Postman integration covers

Postman is useful for exploring Plugsky before you write code. Because the API is OpenAI-compatible HTTPS JSON, you can import the OpenAI collection or build requests manually. This page gives the minimal setup: environment, request and streaming.

Environment setup

  • Create an environment variable plugsky_key with your API key.
  • Create plugsky_base with https://api.plugsky.com/v1.
  • Use {{plugsky_base}} and {{plugsky_key}} in requests.

Chat completion request

  • Method: POST
  • URL: {{plugsky_base}}/chat/completions
  • Headers: Authorization: Bearer {{plugsky_key}}, Content-Type: application/json
  • Body (raw JSON): {"model":"plugsky-pro","messages":[{"role":"user","content":"Hello"}]}

Streaming in Postman

Postman supports server-sent events. Set the body field stream: true and enable the SSE response view. Tokens arrive as data: events.

List models

  • Method: GET
  • URL: {{plugsky_base}}/models
  • Header: Authorization: Bearer {{plugsky_key}}

Embeddings

  • Method: POST
  • URL: {{plugsky_base}}/embeddings
  • Body: {"model":"plugsky-embed","input":"hello world"}
  • Response: data[0].embedding, length 2048.

Tool calling

Add a tools array to the chat completion body with standard OpenAI function schemas. The response carries choices[0].message.tool_calls.

Saving and sharing

Save requests into a collection and share it with your team. Keep keys in environment variables, never in the collection JSON. Use Postman's secret variable type for the key.

Testing and CI

Use Postman's collection runner to replay requests against sample data, and export the collection to JSON for version control. For automated checks, run Newman in CI against a staging key. Keep production keys out of CI logs by masking them in environment files.

Limits and gotchas

Main text models: 262,144-token context; plugsky-mistral-medium and vision models: 131,072; plugsky-translate: 32,768; embeddings: 8,192 input. Builder: 256K input / 32K output per request; Scale: 512K input / 32K output. Concurrency: Builder 10 / 600 RPM, Scale 16 / 1,200 RPM, Hobby 4 / 120 RPM. Cap max_tokens at the plan output ceiling.

Common errors

  • 401: missing, revoked or wrong-host key.
  • 404: wrong base URL path or unknown model ID.
  • 400 (context): input plus reserved output exceeds the window.
  • 429: RPM, concurrency or daily quota exhausted.
  • 5xx: retry with backoff.

Production checklist

  • Keep keys in environment variables, not in collections.
  • Use Postman for exploration; move production traffic to an SDK.
  • Test 429 and context-overflow paths before launch.

What we did not verify

  • We did not benchmark latency or throughput.
  • We used https://api.plugsky.com/v1; confirm the host in your account docs.

Automating with Newman

Export your collection and run it with Newman in CI to catch regressions. Use environment files for keys and base URLs, and mask secrets in logs. Newman can assert on status codes and response fields, which helps verify that model IDs and endpoints stay valid after platform updates.

Frequently asked questions

Can I use Postman with Plugsky?

Yes. The API is OpenAI-compatible HTTPS JSON, so Postman works for chat, streaming, embeddings and tool calling.

What base URL should Postman use?

Use https://api.plugsky.com/v1, including the /v1 suffix and without a trailing slash.

How do I authenticate in Postman?

Add an Authorization header with value Bearer {{plugsky_key}}, where plugsky_key is an environment variable holding your API key.

Does streaming work in Postman?

Yes. Set stream: true in the body and enable the SSE response view.

How do I list available models?

GET {{plugsky_base}}/models with a Bearer token header.

What embedding dimensions should I expect?

2,048 dimensions with an 8,192-token input window.

Should I use Postman in production?

No. Use Postman for exploration and debugging; move production traffic to an SDK or direct HTTP client.

Related pages

Explore Plugsky in Postman

Start free, test your requests, then move production traffic to an SDK.

Start Free → Read the docs

Sources

API behaviour was checked against the OpenAI API reference on 20 November 2026. Plugsky limits were checked against its docs on the same date.

Official pages used for this integration guide
SourcePage checkedChecked
OpenAIplatform.openai.com/docs/api-reference20 Nov 2026
Plugskyplugsky.com/docs and plugsky.com/pricing20 Nov 2026
Plugskyplugsky.com/models20 Nov 2026

Last checked 20 November 2026. Plugsky's canonical plan numbers live at /pricing; this page explains the integration and does not replace the plan terms.

Sources and dated checks

Checked 20 November 2026. Primary sources checked 20 November 2026: OpenAI API reference, Anthropic API getting started, Cloudflare Workers AI. Confirm current limits and pricing in the provider console before capacity planning.