My AskAI Docs
  • Welcome
    • ๐Ÿ‘‹Welcome to My AskAI
  • START HERE
    • ๐Ÿคทโ€โ™‚๏ธWhat is an AI chatbot?
      • How Should I Use it?
      • Where Can I Use it?
      • Will it Make Things Up?
      • How Much Content Do I Need?
      • What Is It Good/Bad At?
      • What If It Can't Answer?
    • ๐Ÿ—๏ธBuild Your AI Chatbot
      • Create Your 1st AI (Chat)
      • Create Your 1st AI (Explain)
      • Create Your 1st AI (Summarize)
      • Create Your 1st AI (Search)
      • How Long Does it Take?
    • ๐Ÿ—ƒ๏ธWhat is Content?
    • ๐Ÿ“ผ101 Video Tutorial
    • ๐Ÿค”How Does it Work?
    • โญReviews
    • ๐Ÿ†˜Support
  • SECURITY + PRIVACY
    • ๐Ÿ”Security
      • On-Premise
      • Set a Password For Your AskAI
      • Lock to a Domain
      • OpenAI API Keys
      • SOC-2
    • ๐Ÿ‘ฃPrivacy
      • Your AI chatbot
      • Your Content
      • Your Data
      • OpenAI
      • Regulations
        • GDPR Compliance
        • HIPAA
  • Features
    • โ“Questions, Answers + References
      • Change the Answer "Style" (Length, Format etc)
      • Editing Suggested (Starter) Questions
      • Auto-Generated Follow-up Questions On/Off
      • Edit Follow Up Questions
      • Turn Follow Up Questions On/Off (Explain)
      • Show Source Reference Text (Explain)
      • Turn References On/Off (Chat)
      • Citation References (Chat)
      • Meta Data and References
      • 'Corrections'
        • How To Correct An "I don't know" Response
        • How To Correct An Answer
    • ๐ŸคSummarize
    • ๐Ÿ—„๏ธAdding Content
      • โ˜๏ธContent Upload & Sync Integrations
        • ๐Ÿ”Connect & Sync Google Drive
        • ๐Ÿ”Connect & Sync Notion
      • Automatic Content Updates
      • Upload a CSV File to Your AskAI
      • Add an Entire Website (or Sitemap)
      • Deleting or Removing Content
      • Bulk Upload a List of Files or Links
    • ๐Ÿ”—Integrations + Embed
      • Website
      • Slack
      • Microsoft Teams
      • WhatsApp
      • Wordpress
      • Zapier
      • Bubble
      • Add To...
        • โœˆ๏ธAdd to Telegram
        • ๐Ÿ”ณAdd to Squarespace
        • ๐Ÿง™Add to Wix
        • ๐Ÿ›’Add to Shopify
        • โ™ฆ๏ธAdd to Carrd
        • ๐ŸŸจAdd to Zoho
        • ๐Ÿš€Add to Kajabi
    • ๐ŸŽจCustomization
      • How It Talks
        • Customize Tone and Voice ("System Prompt")
        • Customize Your Welcome Message
        • Add a Custom Ending Message
        • Edit Your "I don't know" Response
      • How It Looks
        • Edit Starter and Follow-up Question Titles
        • Change Your Image, Name and Description
        • Personalize the Appearance of Your AskAI
        • Edit Placeholder Text (Explain)
    • ๐Ÿ’ชPower Features
      • โšกSupercharged Answers (GPT-4)
      • ๐Ÿ“งEmail Capture
      • ๐Ÿ—ฃ๏ธName Capture
      • ๐Ÿ“ŠAnalytics
        • Get your Insights Report
        • Download Question and Answer History
        • Download Questions That Couldn't Be Answered
      • ๐ŸŒCustom Domains
      • โ—ป๏ธRemoving Branding
    • ๐ŸคSharing
    • ๐Ÿ–ฑ๏ธModes
      • Change the Mode of Your AskAI
      • Search with AskAI
  • Tutorials
    • โœ…Improving Answers
    • โฌœUploading tabular data
    • ๐ŸŒŽLocalize Your AskAI
      • Supported Languages
    • ๐Ÿ”ŒBuild a ChatGPT Plugin
    • ๐Ÿ“บYouTube Tutorials
  • Use Cases
    • ๐Ÿ—ฃ๏ธCustomer Support
    • ๐Ÿง Knowledge Sharing
    • โœ๏ธResearch
    • ๐Ÿ“ฃContent Marketing
    • ๐Ÿ‘ฉโ€๐ŸซTeaching
    • ๐ŸšขOnboarding
  • TROUBLESHOOTING
    • ๐Ÿ‘บIntegration issues
    • ๐ŸขSlow Responses
    • ๐Ÿ’ฌChat Bubble Not Visible
    • ๐Ÿคทโ€โ™€๏ธWhy can't it answer?
    • โฌ†๏ธFile Upload Issues
    • ๐Ÿค“CSV Upload Issues
    • ๐Ÿ—๏ธLogin
    • ๐Ÿ˜•No Content Appearing
  • API Documentation
    • API Docs
    • Ask Questions, Chat, Search
      • Query (Explain)
      • Chat
      • Search
    • Manage Content
      • Add Content
      • Update Content
      • Delete Content
      • Retrieve Specific Content
      • Search All Content
    • Create & Manage AskAIs
      • Create AskAI
      • Update AskAI
      • Delete AskAI
      • Get AskAI Details
    • Python Library
  • ACCOUNT MANAGEMENT
    • ๐Ÿ’ฒPricing + Plans
    • ๐ŸงฑLimits
      • Exceeding Limits
      • Questions
    • ๐Ÿฆธโ€โ™€๏ธYour Profile
      • Changing Your Email
      • Delete an AskAI
      • Close Your Account
    • ๐Ÿ’ณYour Subscription
      • Update Payment Card
      • Download an Invoice
      • Discounts
      • Refunds
      • Tax
      • Downgrade Plan
      • Cancel Subscription
    • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘User Access
      • Transfering Data
      • Restricting Access
      • Multi-user Access
      • Setting a Password for Your Account
      • Reset Login Password
    • ๐Ÿค‘Affiliate Program
    • ๐Ÿ’ผReselling + Whitelabelling
  • FAQ
    • ๐Ÿช–General
      • ๐Ÿ’กFeature Suggestions
      • ๐Ÿ“žHuman Handover
      • ๐ŸŽAnswer Streaming
      • ๐ŸŒก๏ธTemperature
      • ๐Ÿ’‡โ€โ™‚๏ธMy AskAI vs Fine-tuning
      • ๐Ÿค–My AskAI vs ChatGPT
      • ๐Ÿ“š(Large Language Models) LLMs
      • ๐Ÿ”—Prompt Chaining
      • โš–๏ธWhat is the difference between My AskAI and My AskAI Classic?
Powered by GitBook
On this page
  1. API Documentation
  2. Manage Content

Add Content

Adding links, files and text to your AskAI

PreviousManage ContentNextUpdate Content

Last updated 1 year ago

The only optional fields are meta_author, meta_link, meta_published (which can be MM/DD/YYYY or an Epoch Unix Timestamp, as a string) and content_id.

Adding links/URLs

Use the below body to add webpages/links to your AskAI. These must be publicly accessible and cannot be files.

Adding files

Files can only be .PDF, .TXT or .DOCX. and up to 25MB or a .CSV using our template.

Adding text

Use the below body to add raw text to your AskAI. This text must all be JSON-safe.

API responses

If the request is valid and successful, the API will return the below response.

{
    "status": "success",
    "response": {
        "content_id": "1682755",
        "status": "success"
    }
}

Your content is then processed in the background and will take longer if it's a large piece of content. This content_id can also be used to update or delete this content item.

Once your content has been successfully added, it will appear on your AskAI upload page and you can start asking questions about that content.

Add or Update Webpage Content in AskAI

post
Body
idstringRequired

AskAI ID

api_keystringRequired

AskAI API Key

webpagestring ยท uriRequired

URL of the webpage to be added

meta_titlestringRequired

Title of the content

meta_publishedstring | nullableOptional

Published date of the content in 'MM/DD/YYYY' format or as an Epoch Unix Timestamp string

meta_authorstring | nullableOptional

Author of the content

meta_linkstring ยท uri | nullableOptional

Link to the content

content_idstring | nullableOptional

Unique identifier for the content, used when updating content

client_idstring | nullableOptional

Unique identifier for the client, used when updating content

Responses
200
Successful operation
application/json
post
POST /api/1.1/wf/ask-ai-content HTTP/1.1
Host: myaskai.com
Content-Type: application/json
Accept: */*
Content-Length: 200

{
  "id": "text",
  "api_key": "text",
  "webpage": "https://example.com",
  "meta_title": "text",
  "meta_published": "text",
  "meta_author": "text",
  "meta_link": "https://example.com",
  "content_id": "text",
  "client_id": "text"
}
200

Successful operation

{
  "status": "text",
  "response": {
    "content_id": "text",
    "status": "text"
  }
}

Add or Update Files Content in AskAI

post
Body
idstringRequired

AskAI ID

api_keystringRequired

AskAI API Key

file_urlstring ยท uriOptional

URL of the file to be added

meta_titlestringRequired

Title of the content

meta_publishedstring | nullableOptional

Published date of the content in 'MM/DD/YYYY' format or as an Epoch Unix Timestamp string

meta_authorstring | nullableOptional

Author of the content

meta_linkstring ยท uri | nullableOptional

Link to the content

content_idstring | nullableOptional

Unique identifier for the content, used when updating content

client_idstring | nullableOptional

Unique identifier for the client, used when updating content

Responses
200
Successful operation
application/json
post
POST /api/1.1/wf/ask-ai-content HTTP/1.1
Host: myaskai.com
Content-Type: application/json
Accept: */*
Content-Length: 201

{
  "id": "text",
  "api_key": "text",
  "file_url": "https://example.com",
  "meta_title": "text",
  "meta_published": "text",
  "meta_author": "text",
  "meta_link": "https://example.com",
  "content_id": "text",
  "client_id": "text"
}
200

Successful operation

{
  "status": "text",
  "response": {
    "content_id": "text",
    "status": "text"
  }
}
  • Adding links/URLs
  • POSTAdd or Update Webpage Content in AskAI
  • Adding files
  • POSTAdd or Update Files Content in AskAI
  • Adding text
  • POSTAdd or Update Text Content in AskAI
  • API responses

Add or Update Text Content in AskAI

post
Body
idstringRequired

AskAI ID

api_keystringRequired

AskAI API Key

textstring ยท stringOptional

JSON-safe text content

meta_titlestringRequired

Title of the content

meta_publishedstring | nullableOptional

Published date of the content in 'MM/DD/YYYY' format or as an Epoch Unix Timestamp string

meta_authorstring | nullableOptional

Author of the content

meta_linkstring ยท uri | nullableOptional

Link to the content

content_idstring | nullableOptional

Unique identifier for the content, used when updating content

client_idstring | nullableOptional

Unique identifier for the client, used when updating content

Responses
200
Successful operation
application/json
post
POST /api/1.1/wf/ask-ai-content HTTP/1.1
Host: myaskai.com
Content-Type: application/json
Accept: */*
Content-Length: 182

{
  "id": "text",
  "api_key": "text",
  "text": "text",
  "meta_title": "text",
  "meta_published": "text",
  "meta_author": "text",
  "meta_link": "https://example.com",
  "content_id": "text",
  "client_id": "text"
}
200

Successful operation

{
  "status": "text",
  "response": {
    "content_id": "text",
    "status": "text"
  }
}