{"components":{"schemas":{"MarkdownFileRequest":{"properties":{"filename":{"description":"Converted Markdown filename.","type":"string"}},"required":["filename"],"type":"object"},"SearchRequest":{"properties":{"pattern":{"description":"Python re regular expression.","type":"string"}},"required":["pattern"],"type":"object"}},"securitySchemes":{"ApiCode":{"in":"header","name":"x-api-code","type":"apiKey"}}},"info":{"description":"Search converted ChatGPT conversation Markdown files, retrieve full Markdown, and retrieve cached summaries.","title":"Conversation Search API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/api/auth-check":{"get":{"operationId":"checkActionAuthentication","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"authenticated":{"type":"boolean"},"invitee":{"type":"string"},"markdown_file_count":{"type":"integer"},"markdown_ready":{"type":"boolean"}},"type":"object"}}},"description":"Authentication status for the current API code"}},"security":[{"ApiCode":[]}],"summary":"Confirm that the saved action API code is being sent","x-openai-isConsequential":false}},"/api/markdown":{"post":{"operationId":"retrieveConversationMarkdown","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownFileRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"description":"Neutral status message for the retrieved Markdown file.","type":"string"},"openaiFileResponse":{"items":{"properties":{"content":{"description":"Base64 encoded Markdown file content.","format":"byte","type":"string"},"mime_type":{"type":"string"},"name":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Full converted Markdown conversation file"}},"security":[{"ApiCode":[]}],"summary":"Return the full converted Markdown for one conversation","x-openai-isConsequential":false}},"/api/search":{"post":{"operationId":"searchConversations","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"matches":{"items":{"properties":{"filename":{"type":"string"},"match_count":{"type":"integer"}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Matching files and counts"}},"security":[{"ApiCode":[]}],"summary":"Search conversations by regular expression","x-openai-isConsequential":false}},"/api/summary":{"post":{"operationId":"summarizeConversation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownFileRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"cached":{"type":"boolean"},"filename":{"type":"string"},"summary":{"type":"string"}},"type":"object"}}},"description":"Conversation summary"}},"security":[{"ApiCode":[]}],"summary":"Return a cached or newly generated conversation summary","x-openai-isConsequential":false}}},"servers":[{"url":"https://76.13.133.221.sslip.io"}]}
