{"openapi":"3.1.0","info":{"title":"NASA (BYOK) API","version":"0.1.0","description":"NASA (BYOK) lets an AI assistant read your own NASA data through the NASA API with a key you supply (api.nasa.gov API key). Read-only: 3 tools (get_astronomy_picture, get_astronomy_pictures_in_range, get_random_astronomy_pictures). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to api.nasa.gov. Unofficial...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-nasa.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-nasa/docs"},"termsOfService":"https://connectorbay.com/byok-nasa/terms"},"servers":[{"url":"https://byok-nasa.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-nasa/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_astronomy_picture":{"post":{"operationId":"get_astronomy_picture","summary":"Get NASA's Astronomy Picture of the Day for one date (today when no date is given): title, explanation, image or video l","description":"Get NASA's Astronomy Picture of the Day for one date (today when no date is given): title, explanation, image or video link, high-resolution link and copyright holder if any. Use for \"What was NASA's Astronomy Picture of the Day on 2026-01-01\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Day to fetch, YYYY-MM-DD, after 1995-06-16 and not in the future. Omit for today.","title":"Date"}},"title":"get_astronomy_pictureArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_astronomy_pictures_in_range":{"post":{"operationId":"get_astronomy_pictures_in_range","summary":"Get every Astronomy Picture of the Day between two dates, as a list with title, explanation and links. Use for \"Show the","description":"Get every Astronomy Picture of the Day between two dates, as a list with title, explanation and links. Use for \"Show the astronomy pictures of the day from 2026-03-01 to 2026-03-05\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"start_date":{"description":"First day, YYYY-MM-DD, after 1995-06-16.","maxLength":10,"title":"Start Date","type":"string"},"end_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Last day, YYYY-MM-DD. Defaults to today when omitted.","title":"End Date"}},"required":["start_date"],"title":"get_astronomy_pictures_in_rangeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_random_astronomy_pictures":{"post":{"operationId":"get_random_astronomy_pictures","summary":"Get a number of randomly chosen Astronomy Pictures of the Day with title, explanation and links. Use for \"Show me 3 rand","description":"Get a number of randomly chosen Astronomy Pictures of the Day with title, explanation and links. Use for \"Show me 3 random NASA astronomy pictures\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"count":{"description":"How many random pictures to return, 1 to 25.","maximum":25,"minimum":1,"title":"Count","type":"integer"}},"required":["count"],"title":"get_random_astronomy_picturesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}