{"id":"143cb939-8d30-434c-ac5d-2aa3847c2008","shortId":"urYVWh","kind":"skill","title":"telnyx-storage-ruby","tagline":">-","description":"<!-- Auto-generated from Telnyx OpenAPI specs. Do not edit. -->\n\n# Telnyx Storage - Ruby\n\n## Installation\n\n```bash\ngem install telnyx\n```\n\n## Setup\n\n```ruby\nrequire \"telnyx\"\n\nclient = Telnyx::Client.new(\n  api_key: ENV[\"TELNYX_API_KEY\"], # This is the default and can be omitted\n)\n```\n\nAll examples below assume `client` is already initialized as shown above.\n\n## Error Handling\n\nAll API calls can fail with network errors, rate limits (429), validation errors (422),\nor authentication errors (401). Always handle errors in production code:\n\n```ruby\nbegin\n  result = client.messages.send_(to: \"+13125550001\", from: \"+13125550002\", text: \"Hello\")\nrescue Telnyx::Errors::APIConnectionError\n  puts \"Network error — check connectivity and retry\"\nrescue Telnyx::Errors::RateLimitError\n  # 429: rate limited — wait and retry with exponential backoff\n  sleep(1) # Check Retry-After header for actual delay\nrescue Telnyx::Errors::APIStatusError => e\n  puts \"API error #{e.status}: #{e.message}\"\n  if e.status == 422\n    puts \"Validation error — check required fields and formats\"\n  end\nend\n```\n\nCommon error codes: `401` invalid API key, `403` insufficient permissions,\n`404` resource not found, `422` validation error (check field formats),\n`429` rate limited (retry with exponential backoff).\n\n## Get Bucket SSL Certificate\n\nReturns the stored certificate detail of a bucket, if applicable.\n\n`GET /storage/buckets/{bucketName}/ssl_certificate`\n\n```ruby\nssl_certificate = client.storage.buckets.ssl_certificate.retrieve(\"\")\n\nputs(ssl_certificate)\n```\n\nReturns: `created_at` (date-time), `id` (string), `issued_by` (object), `issued_to` (object), `valid_from` (date-time), `valid_to` (date-time)\n\n## Add SSL Certificate\n\nUploads an SSL certificate and its matching secret so that you can use Telnyx's storage as your CDN.\n\n`PUT /storage/buckets/{bucketName}/ssl_certificate`\n\n```ruby\nssl_certificate = client.storage.buckets.ssl_certificate.create(\"\")\n\nputs(ssl_certificate)\n```\n\nReturns: `created_at` (date-time), `id` (string), `issued_by` (object), `issued_to` (object), `valid_from` (date-time), `valid_to` (date-time)\n\n## Remove SSL Certificate\n\nDeletes an SSL certificate and its matching secret.\n\n`DELETE /storage/buckets/{bucketName}/ssl_certificate`\n\n```ruby\nssl_certificate = client.storage.buckets.ssl_certificate.delete(\"\")\n\nputs(ssl_certificate)\n```\n\nReturns: `created_at` (date-time), `id` (string), `issued_by` (object), `issued_to` (object), `valid_from` (date-time), `valid_to` (date-time)\n\n## Get API Usage\n\nReturns the detail on API usage on a bucket of a particular time period, group by method category.\n\n`GET /storage/buckets/{bucketName}/usage/api`\n\n```ruby\nresponse = client.storage.buckets.usage.get_api_usage(\n  \"\",\n  filter: {end_time: \"2019-12-27T18:11:19.117Z\", start_time: \"2019-12-27T18:11:19.117Z\"}\n)\n\nputs(response)\n```\n\nReturns: `categories` (array[object]), `timestamp` (date-time), `total` (object)\n\n## Get Bucket Usage\n\nReturns the amount of storage space and number of files a bucket takes up.\n\n`GET /storage/buckets/{bucketName}/usage/storage`\n\n```ruby\nresponse = client.storage.buckets.usage.get_bucket_usage(\"\")\n\nputs(response)\n```\n\nReturns: `num_objects` (integer), `size` (integer), `size_kb` (integer), `timestamp` (date-time)\n\n## Create Presigned Object URL\n\nReturns a timed and authenticated URL to download (GET) or upload (PUT) an object. This is the equivalent to AWS S3’s “presigned” URL. Please note that Telnyx performs authentication differently from AWS S3 and you MUST NOT use the presign method of AWS s3api CLI or SDK to generate the presigned URL. \n\nRefer to: https://developers.telnyx.com/docs/cloud-storage/presigned-urls\n\n`POST /storage/buckets/{bucketName}/{objectName}/presigned_url`\n\nOptional: `ttl` (integer)\n\n```ruby\nresponse = client.storage.buckets.create_presigned_url(\"\", bucket_name: \"\")\n\nputs(response)\n```\n\nReturns: `content` (object)","tags":["telnyx","storage","ruby","team-telnyx","agent-skills","ai-coding-agent","claude-code","cpaas","cursor","iot","llm","sdk"],"capabilities":["skill","source-team-telnyx","skill-telnyx-storage-ruby","topic-agent-skills","topic-ai-coding-agent","topic-claude-code","topic-cpaas","topic-cursor","topic-iot","topic-llm","topic-sdk","topic-sip","topic-sms","topic-speech-to-text","topic-telephony"],"categories":["ai"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/team-telnyx/ai/telnyx-storage-ruby","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add team-telnyx/ai","source_repo":"https://github.com/team-telnyx/ai","install_from":"skills.sh"}},"qualityScore":"0.533","qualityRationale":"deterministic score 0.53 from registry signals: · indexed on github topic:agent-skills · 167 github stars · SKILL.md body (3,899 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T06:54:49.559Z","embedding":null,"createdAt":"2026-04-18T22:07:56.340Z","updatedAt":"2026-04-22T06:54:49.559Z","lastSeenAt":"2026-04-22T06:54:49.559Z","tsv":"'+13125550001':76 '+13125550002':78 '-12':351,360 '-27':352,361 '/docs/cloud-storage/presigned-urls':480 '/presigned_url':485 '/ssl_certificate':182,239,285 '/storage/buckets':180,237,283,339,396,482 '/usage/api':341 '/usage/storage':398 '1':106 '11':354,363 '19.117':355,364 '2019':350,359 '401':64,141 '403':145 '404':148 '422':60,127,152 '429':57,96,158 'actual':113 'add':214 'alreadi':40 'alway':65 'amount':383 'api':20,24,48,121,143,318,324,345 'apiconnectionerror':84 'apistatuserror':118 'applic':178 'array':370 'assum':37 'authent':62,427,452 'aw':442,455,466 'backoff':104,164 'bash':9 'begin':72 'bucket':166,176,328,379,392,402,494 'bucketnam':181,238,284,340,397,483 'call':49 'categori':337,369 'cdn':235 'certif':168,172,185,189,216,220,242,246,273,277,288,292 'check':88,107,131,155 'cli':468 'client':17,38 'client.messages.send':74 'client.new':19 'client.storage.buckets.create':491 'client.storage.buckets.ssl_certificate.create':243 'client.storage.buckets.ssl_certificate.delete':289 'client.storage.buckets.ssl_certificate.retrieve':186 'client.storage.buckets.usage.get':344,401 'code':70,140 'common':138 'connect':89 'content':499 'creat':191,248,294,419 'date':194,207,212,251,264,269,297,310,315,374,417 'date-tim':193,206,211,250,263,268,296,309,314,373,416 'default':29 'delay':114 'delet':274,282 'detail':173,322 'developers.telnyx.com':479 'developers.telnyx.com/docs/cloud-storage/presigned-urls':478 'differ':453 'download':430 'e':119 'e.message':124 'e.status':123,126 'end':136,137,348 'env':22 'equival':440 'error':45,54,59,63,67,83,87,94,117,122,130,139,154 'exampl':35 'exponenti':103,163 'fail':51 'field':133,156 'file':390 'filter':347 'format':135,157 'found':151 'gem':10 'generat':472 'get':165,179,317,338,378,395,431 'group':334 'handl':46,66 'header':111 'hello':80 'id':196,253,299 'initi':41 'instal':8,11 'insuffici':146 'integ':409,411,414,488 'invalid':142 'issu':198,201,255,258,301,304 'kb':413 'key':21,25,144 'limit':56,98,160 'match':223,280 'method':336,464 'must':459 'name':495 'network':53,86 'note':448 'num':407 'number':388 'object':200,203,257,260,303,306,371,377,408,421,436,500 'objectnam':484 'omit':33 'option':486 'particular':331 'perform':451 'period':333 'permiss':147 'pleas':447 'post':481 'presign':420,445,463,474,492 'product':69 'put':85,120,128,187,236,244,290,366,404,434,496 'rate':55,97,159 'ratelimiterror':95 'refer':476 'remov':271 'requir':15,132 'rescu':81,92,115 'resourc':149 'respons':343,367,400,405,490,497 'result':73 'retri':91,101,109,161 'retry-aft':108 'return':169,190,247,293,320,368,381,406,423,498 'rubi':4,7,14,71,183,240,286,342,399,489 's3':443,456 's3api':467 'sdk':470 'secret':224,281 'setup':13 'shown':43 'size':410,412 'skill' 'skill-telnyx-storage-ruby' 'sleep':105 'source-team-telnyx' 'space':386 'ssl':167,184,188,215,219,241,245,272,276,287,291 'start':357 'storag':3,6,232,385 'store':171 'string':197,254,300 't18':353,362 'take':393 'telnyx':2,5,12,16,18,23,82,93,116,230,450 'telnyx-storage-rubi':1 'text':79 'time':195,208,213,252,265,270,298,311,316,332,349,358,375,418,425 'timestamp':372,415 'topic-agent-skills' 'topic-ai-coding-agent' 'topic-claude-code' 'topic-cpaas' 'topic-cursor' 'topic-iot' 'topic-llm' 'topic-sdk' 'topic-sip' 'topic-sms' 'topic-speech-to-text' 'topic-telephony' 'total':376 'ttl':487 'upload':217,433 'url':422,428,446,475,493 'usag':319,325,346,380,403 'use':229,461 'valid':58,129,153,204,209,261,266,307,312 'wait':99 'z':356,365","prices":[{"id":"a2aaffe3-04f3-4cf8-8d99-b483c20204fb","listingId":"143cb939-8d30-434c-ac5d-2aa3847c2008","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"team-telnyx","category":"ai","install_from":"skills.sh"},"createdAt":"2026-04-18T22:07:56.340Z"}],"sources":[{"listingId":"143cb939-8d30-434c-ac5d-2aa3847c2008","source":"github","sourceId":"team-telnyx/ai/telnyx-storage-ruby","sourceUrl":"https://github.com/team-telnyx/ai/tree/main/skills/telnyx-storage-ruby","isPrimary":false,"firstSeenAt":"2026-04-18T22:07:56.340Z","lastSeenAt":"2026-04-22T06:54:49.559Z"}],"details":{"listingId":"143cb939-8d30-434c-ac5d-2aa3847c2008","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"team-telnyx","slug":"telnyx-storage-ruby","github":{"repo":"team-telnyx/ai","stars":167,"topics":["agent-skills","ai","ai-coding-agent","claude-code","cpaas","cursor","iot","llm","sdk","sip","sms","speech-to-text","telephony","telnyx","tts","twilio-migration","voice-agents","voice-ai","webrtc","windsurf"],"license":"mit","html_url":"https://github.com/team-telnyx/ai","pushed_at":"2026-04-21T22:09:49Z","description":"Official one-stop shop for AI Agents and developers building with Telnyx.","skill_md_sha":"b3f53b5eb3aabe3f2f37ea010f950686c710086a","skill_md_path":"skills/telnyx-storage-ruby/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/team-telnyx/ai/tree/main/skills/telnyx-storage-ruby"},"layout":"multi","source":"github","category":"ai","frontmatter":{"name":"telnyx-storage-ruby","description":">-"},"skills_sh_url":"https://skills.sh/team-telnyx/ai/telnyx-storage-ruby"},"updatedAt":"2026-04-22T06:54:49.559Z"}}