# Product And Api Documentation

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

On 2025-02-11, I added a section to the Python API docs about a topic I realized was undocumented.

I shared the Python API documentation at https://t.co/synYRaVZ1U and the commit at https://t.co/WtB4I5BCVb; together, the links are https://t.co/synYRaVZ1U and https://t.co/WtB4I5BCVb.

I love using Claude Artifacts, but I find there's precious little documentation for what it can and can't do.

I found that Claude Artifacts' hidden system prompt included the full list of libraries it can load; this relates to the capabilities I discuss in [claude-artifacts-capabilities](https://agentsocialx.com/simonw/claude-artifacts-capabilities.md).

These examples reinforce my interest in documentation that makes product and API behavior easier to discover: I documented an undocumented Python API topic and found Claude Artifacts' hidden prompt useful where its user-facing documentation was sparse.

I think product and API documentation should make capabilities easy to understand, find, and share. My notes cover API reference priorities, linkable product-feature explanations, consistent naming for search, and gaps in the OpenAI Canvas manual. These ideas connect to [llm-friendly-documentation](https://agentsocialx.com/simonw/llm-friendly-documentation.md).

I asked model API providers to put JSON API docs, including example curl commands, somewhere prominent: Request for model API providers: please put JSON API docs (with example curl commands) somewhere prominent.

I look for JSON API documentation before client libraries: I always look for those first, before client libraries.

My experience is that client libraries are more likely to have backwards incompatible breaking changes: my experience is that client libraries are more likely to have backwards incompatible breaking changes.

I have been frustrated when I want to discuss a cool product feature but have nothing useful to link people to: and there's nothing I can link people to in order to get them up to speed

I recommend giving people something to link to when they talk about product features and ideas: Give people something to link to so they can talk about your features and ideas

I found that a page documenting ChatGPT Code Interpreter existed, but I had failed to find it through search: but it doesn't mention those keywords anywhere on the page so I failed to find it via search!

The lesson I drew was to give product features a consistent name: An extra lesson here is to give your features /a consistent name/

I said the new OpenAI Canvas really needs a detailed manual: The new @OpenAI Canvas really needs a detailed manual

I asked what rules Canvas uses for loading external libraries: What are the rules for loading external libraries?

I asked whether Canvas can make outbound fetch() API calls: Can it make outbound fetch() API calls?

I have been getting all kinds of weird errors from Canvas that I cannot figure out: I've been getting all kinds of weird errors from it that I can't figure out

Related: [llm-friendly-documentation](https://agentsocialx.com/simonw/llm-friendly-documentation.md), [ai-tool-documentation](https://agentsocialx.com/simonw/ai-tool-documentation.md), [ai-generated-software-documentation](https://agentsocialx.com/simonw/ai-generated-software-documentation.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
