The current Copy.ai workflow API reference is hosted under Fullcast and documents x-copy-ai-api-key. For the Copy.ai directory entry, do not assume a generic chat-completions or bearer-token example applies.
Start with a controlled workflow and verify its input mapping and returned state. Keep the key server-side and distinguish a workflow run from its finished output.